L iDdZddlZddlmZddlmZddlmZm Z m Z m Z ddl m Z ddlmZddlmZdd lmZdd lmZdd lmZdd lmZdd lmZddlmZmZmZm Z m!Z!m"Z"ddl#m$Z$m%Z%ddl&m'Z'ddl&m(Z)ddl&m*Z+er@ddl m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;mZ>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZIGddeZJGddeJZKy)z?This module contains an object that represents a Telegram Chat.N)Sequence)escape) TYPE_CHECKINGFinalOptionalUnion) constants)ChatPermissions) ForumTopic) MenuButton) ReactionType)TelegramObject)enum) DEFAULT_NONE)CorrectOptionID FileInputJSONDictODVInput ReplyMarkup TimePeriod) get_full_nameget_link)escape_markdown) mention_html)mention_markdown) AnimationAudioChatInviteLink ChatMemberContactDocumentGiftInlineKeyboardMarkupInputChecklistInputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideoInputPaidMediaInputPollOption LabeledPriceLinkPreviewOptionsLocationMessage MessageEntity MessageId PhotoSizeReplyParametersStickerSuggestedPostParametersUserChatBoostsVenueVideo VideoNoteVoicecN,4eZdZUdZdZ d(dddededeedeed eed eed eed eed ee ffdZ e jjZ eeed< e jj Zeeed< e jj"Zeeed< e jj$Zeeed< e jj&Zeeed< edeefdZedeefdZedeefdZd)deedefdZd)deedefdZd)deedefdZeeeedddeedeedeed eed ee def d!Zeeeedddeedeedeed eed ee ded"f d#Z eeeedddeedeedeed eed ee def d$Z!eeeeddd%edeedeedeed eed ee dd&fd'Z" d*eeeeddd%ed(eed)ee#ee$jJfdeedeedeed eed ee defd*Z&eeeeddd+edeedeedeed eed ee defd,Z'eeeeddd-e#eefdeedeedeed eed ee defd.Z(eeeeddd+edeedeedeed eed ee defd/Z)eeeeddd-e#eefdeedeedeed eed ee defd0Z* d)eeeeddd%ed1eedeedeedeed eed ee defd2Z+ d+eeeeddd%ed3eed4eed5eed6eed7eed8eed9eed:eed;eedeed?eed@eedAeedBeedeedeedeed eed ee def.dCZ, d*eeeeddd%edDe-d)ee#ee$jJfdEeedeedeedeed eed ee defdFZ. d)eeeedddDe-dEeedeedeedeed eed ee defdGZ/eeeeddd%edHedeedeedeed eed ee defdIZ0eeeedddJe1deedeedeed eed ee defdKZ2eeeedddeedeedeed eed ee def dLZ3eeeedddedeedeedeed eed ee defdMZ4 d)eeeedddNeedeedeedeed eed ee defdOZ5edfeeeedddPedQeedReedeedeedeed eed ee defdSZ6 d*eeeedddPeedReedeedeedeed eed ee defdTZ7eeeedddeedeedeed eed ee def dUZ8eeddededdddddf dedeeeeddVdWedXeedQeedYee9dZee:d[d\eed]eed^ed_d`edadReedbeedceeddeedeedfdgeedheedieedeedeedeed eed ee ddjf.dkZ;eeeedddPedeedeedeed eed ee defdlZ d*eeeedddved]eedReedeedeedeed eed ee defdwZ?e?Z@ dedededddddddddfdedeeeeddxdJe#e1dyfdreedQeedYee9dXeedsee:d[d\eed]eedzeed`edadReedbeedceed{eeddeedeedfdgeedheed|eedeedeedeed eed ee ddjf2d}ZAdddeddedddddddfdedeeeedd~deed eed eedQeedYee9deed\eed]eed`edadReedbeedceeddeedeedfdgeedheededdeedeedeed eed ee ddjf.dZBddddedededdddddddfdedeeeeddxde#e1dfdeeCdeedeedreedQeedYee9dXeedsee:d[d\eed]eedee1d`edadReedbeedceeddeedeedfdgeedheed|eedeedeedeed eed ee ddjf6dZDdededdeddddddddfdedeeeeddxde#e1dfdreedQeedYee9dXeedeedsee:d[d\eed]eedee1d`edadReedbeedceeddeedeedfdgeedheed|eedeedeedeed eed ee ddjf2dZEededdfdeeeeedddRedddQeedYedd\eed`edadbeedgeedheedeedeedeed eed ee ddjfdZFeddedddddddf deeeeedddQeedYee9deed\eed]eed`edadReedbeedceeddeedeedfdgeedheedeedeedeed eed ee ddjf&dZGededddddfdeeeeedddedQeedYedd\eed]eed`edadReedbeedceedgeedheedeedeedeed eed ee ddjf"dZHdddddddddddeddddddeddddddfdeeeeedddedNededede:ddeedeedeedeedeedeedeedeedeedeedeedQeedYeddee#eeIfdeedeedeedee:ed\eed]eed`edadbeedceeddeedeedfdgeedheedeedeedeed eed ee ddjfLdZJddedddddedddddddfdedeeeedddeedeedQeedYee9deeCdeedeedeed\eed]eed`edadReedbeedceeddeedeedfdgeedheededdeedeedeed eed ee ddjf2dZKddddeeddeddddddddddfdedeeeeddxde#e1dfdeeCdeedeedreedXeedQeedYee9dsee:d[d\eed]eedzeedee1d`edadReedbeedceed{eeddeedeedfdgeedheed|eedeedeedeed eed ee ddjf:dZLededdddddddf deeeeeddde#e1dfdQeedYee9d\eed]eedeed`edadReedbeedceeddeedeedfdgeedheedeedeedeed eed ee ddjf(dZMdddddeddddedddddddfdedeeeedddeedeedeedeedeedQeedYee9deedeedeed\eed]eed`edadReedbeedceeddeedeedfdgeedheededdeedeedeed eed ee ddjf6dƄZNddedddeddeddddddddddddfdedeeeeddxde#e1dfdeeCdreedQeedYee9deedeedXeedeedsee:d[d\eed]eedzeedee1d`edadReedbeedceed{eedee1deeddeedeedfdgeedheed|eedeedeedeed eed ee ddjf@d̄ZOddededdddddddf dedeeeeddxde#e1dfdeeCdeedQeedYee9d\eed]eedee1d`edadReedbeedceeddeedeedfdgeedheed|eedeedeedeed eed ee ddjf.dЄZPddedededddddddfdedeeeeddxde#e1dfdeeCdreedQeedYee9dXeedsee:d[d\eed]eed`edadReedbeedceeddeedeedfdgeedheed|eedeedeedeed eed ee ddjf0dӄZQdddddeddedddedddedddfdeeeeedddede:e#edfd;eedeedeedeeRdeedQeedYee9deedeedeeCdee#ee$jJfdee:d[d\eed]eed`edadReedeedee:d[dbeedceedgeedheedeedeedeed eed ee ddjfrEc  t || ||_tjt j |||_||_||_ ||_ ||_ ||_ ||_ |jf|_|jy)NrD)super__init__r=r get_memberr ChatTyperBrArCr<r@r?r> _id_attrs_freeze) selfr=rBrArCr<r@r?r>rE __class__s T/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/_chat.pyrHz_ChatBase.__init__dsw J/););T4H $) '/ )3(1(0 2D'' SENDERPRIVATEGROUP SUPERGROUPCHANNELreturncd|j |jS|j |jSy)z :obj:`str`: Convenience property. Gives :attr:`~Chat.title` if not :obj:`None`, else :attr:`~Chat.full_name` if not :obj:`None`. .. versionadded:: 20.1 N)rA full_namerMs rOeffective_namez_ChatBase.effective_names/ :: !::  >> %>> !rPct|S)a] :obj:`str`: Convenience property. If :attr:`~Chat.first_name` is not :obj:`None`, gives :attr:`~Chat.first_name` followed by (if available) :attr:`~Chat.last_name`. Note: :attr:`full_name` will always be :obj:`None`, if the chat is a (super)group or channel. .. versionadded:: 13.2 )rrYs rOrXz_ChatBase.full_namesT""rPct|S)z}:obj:`str`: Convenience property. If the chat has a :attr:`~Chat.username`, returns a t.me link of the chat. )rrYs rOlinkz_ChatBase.links ~rPnamec|j|jk(rO|rt|j|S|jr t|j|jSt d|j rI|rd|d|jdS|jrd|jd|jdSt dt d)a Note: :tg-const:`telegram.constants.ParseMode.MARKDOWN` is a legacy mode, retained by Telegram for backward compatibility. You should use :meth:`mention_markdown_v2` instead. .. versionadded:: 20.0 Args: name (:obj:`str`): The name used as a link for the chat. Defaults to :attr:`~Chat.full_name`. Returns: :obj:`str`: The inline mention for the chat as markdown (version 1). Raises: :exc:`TypeError`: If the chat is a private chat and neither the :paramref:`name` nor the :attr:`~Chat.first_name` is set, then throw an :exc:`TypeError`. If the chat is a public chat and neither the :paramref:`name` nor the :attr:`~Chat.title` is set, then throw an :exc:`TypeError`. If chat is a private group chat, then throw an :exc:`TypeError`. =Can not create a mention to a private chat without first name[]()7Can not create a mention to a public chat without title0Can not create a mention to a private group chat) rBrRhelpers_mention_markdownr=rX TypeErrorrCr]rArMr^s rOrz_ChatBase.mention_markdowns0 99 $/>>~~/HH[\ \ ==4&499+Q//zz4::,b 155UV VJKKrPc|j|jk(rS|rt|j|dS|jr"t|j|jdSt d|j r_|rdt|dd|jdS|jr(dt|jdd|jdSt dt d) a .. versionadded:: 20.0 Args: name (:obj:`str`): The name used as a link for the chat. Defaults to :attr:`~Chat.full_name`. Returns: :obj:`str`: The inline mention for the chat as markdown (version 2). Raises: :exc:`TypeError`: If the chat is a private chat and neither the :paramref:`name` nor the :attr:`~Chat.first_name` is set, then throw an :exc:`TypeError`. If the chat is a public chat and neither the :paramref:`name` nor the :attr:`~Chat.title` is set, then throw an :exc:`TypeError`. If chat is a private group chat, then throw an :exc:`TypeError`. )versionr`rarbrcrdre) rBrRrfr=rXrgrCrr]rArhs rOmention_markdown_v2z_ChatBase.mention_markdown_v2s& 99 $/qII~~/QRSS[\ \ ==?4;zrdre) rBrRhelpers_mention_htmlr=rXrgrCr]rrArhs rOrz_ChatBase.mention_htmls$ 99 $+DGGT::~~+DGGT^^DD[\ \ =="499+Rt ~TBBzz"499+Rtzz0B/C4HHUV VJKKrP) read_timeout write_timeoutconnect_timeout pool_timeoutrErorprqrrc|K|jj|j|||||d{S7w)aShortcut for:: await bot.leave_chat(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.leave_chat`. Returns: :obj:`bool`: On success, :obj:`True` is returned. chat_idrorprqrrrEN)get_bot leave_chatr=rMrorprqrrrEs rOleavez_ChatBase.leavesF&\\^..GG%'+%! /    3<:<)r.c|K|jj|j|||||d{S7w)a]Shortcut for:: await bot.get_chat_administrators(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.get_chat_administrators`. Returns: tuple[:class:`telegram.ChatMember`]: A tuple of administrators in a chat. An Array of :class:`telegram.ChatMember` objects that contains information about all chat administrators except other bots. If the chat is a group or a supergroup and no administrators were appointed, only the creator will be returned. rtN)rvget_chat_administratorsr=rxs rOget_administratorsz_ChatBase.get_administrators5sF.\\^;;GG%'+%! <    rzc|K|jj|j|||||d{S7w)a Shortcut for:: await bot.get_chat_member_count(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.get_chat_member_count`. Returns: :obj:`int` rtN)rvget_chat_member_countr=rxs rOget_member_countz_ChatBase.get_member_countUsF&\\^99GG%'+%! :    rzuser_idrc ~K|jj|j||||||d{S7w)aShortcut for:: await bot.get_chat_member(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.get_chat_member`. Returns: :class:`telegram.ChatMember` rurrorprqrrrEN)rvget_chat_memberr=rMrrorprqrrrEs rOrIz_ChatBase.get_memberqsI(\\^33GG%'+%!4    4=;=revoke_messages until_datec K|jj|j|||||||| d{S7w)a$Shortcut for:: await bot.ban_chat_member(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.ban_chat_member`. Returns: :obj:`bool`: On success, :obj:`True` is returned. ) rurrorprqrrrrErN)rvban_chat_memberr=) rMrrrrorprqrrrEs rO ban_memberz_ChatBase.ban_membersO,\\^33GG%'+%!!+4    6?=?sender_chat_idc ~K|jj|j||||||d{S7w)aWShortcut for:: await bot.ban_chat_sender_chat(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.ban_chat_sender_chat`. .. versionadded:: 13.9 Returns: :obj:`bool`: On success, :obj:`True` is returned. rurrorprqrrrENrvban_chat_sender_chatr=rMrrorprqrrrEs rOban_sender_chatz_ChatBase.ban_sender_chatsI.\\^88GG)%'+%!9    rruc ~K|jj||j|||||d{S7w)a~Shortcut for:: await bot.ban_chat_sender_chat( sender_chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.ban_chat_sender_chat`. .. versionadded:: 13.9 Returns: :obj:`bool`: On success, :obj:`True` is returned. rNrrMrurorprqrrrEs rOban_chatz_ChatBase.ban_chatsI2\\^8877%'+%!9    rc ~K|jj|j||||||d{S7w)a[Shortcut for:: await bot.unban_chat_sender_chat(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.unban_chat_sender_chat`. .. versionadded:: 13.9 Returns: :obj:`bool`: On success, :obj:`True` is returned. rNrvunban_chat_sender_chatr=rs rOunban_sender_chatz_ChatBase.unban_sender_chatsI.\\^::GG)%'+%!;    rc ~K|jj||j|||||d{S7w)aShortcut for:: await bot.unban_chat_sender_chat( sender_chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.unban_chat_sender_chat`. .. versionadded:: 13.9 Returns: :obj:`bool`: On success, :obj:`True` is returned. rNrrs rO unban_chatz_ChatBase.unban_chatsI2\\^::77%'+%!;    ronly_if_bannedc K|jj|j|||||||d{S7w)a!Shortcut for:: await bot.unban_chat_member(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.unban_chat_member`. Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrorprqrrrErN)rvunban_chat_memberr=)rMrrrorprqrrrEs rO unban_memberz_ChatBase.unban_member9sL*\\^55GG%'+%!)6    5><>can_change_infocan_post_messagescan_edit_messagescan_delete_messagescan_invite_userscan_restrict_memberscan_pin_messagescan_promote_members is_anonymouscan_manage_chatcan_manage_video_chatscan_manage_topicscan_post_storiescan_edit_storiescan_delete_storiescan_manage_direct_messagescK|jj|j||||||||| |||||| | | | ||||d{S7w)aShortcut for:: await bot.promote_chat_member(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.promote_chat_member`. .. versionadded:: 13.2 .. versionchanged:: 20.0 The argument ``can_manage_voice_chats`` was renamed to :paramref:`~telegram.Bot.promote_chat_member.can_manage_video_chats` in accordance to Bot API 6.0. .. versionchanged:: 20.6 The arguments `can_post_stories`, `can_edit_stories` and `can_delete_stories` were added. Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrrrrrrrrrorprqrrrErrrrrrrrN)rvpromote_chat_memberr=)rMrrrrrrrrrrrrrrrrrrorprqrrrEs rOpromote_memberz_ChatBase.promote_memberYsz\\\^77GG+// 3-!5- 3%'+%!%+#9/--1'A/8    AA A A  permissions use_independent_chat_permissionsc K|jj|j|||||||||  d{S7w)aShortcut for:: await bot.restrict_chat_member(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.restrict_chat_member`. .. versionadded:: 13.2 .. versionadded:: 20.1 Added :paramref:`~telegram.Bot.restrict_chat_member.use_independent_chat_permissions`. Returns: :obj:`bool`: On success, :obj:`True` is returned. ) rurrrrrorprqrrrEN)rvrestrict_chat_memberr=) rMrrrrrorprqrrrEs rOrestrict_memberz_ChatBase.restrict_membersR:\\^88GG#!-M%'+%!9    7A>Ac K|jj|j|||||||d{S7w)aShortcut for:: await bot.set_chat_permissions(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.set_chat_permissions`. .. versionadded:: 20.1 Added :paramref:`~telegram.Bot.set_chat_permissions.use_independent_chat_permissions`. Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrrorprqrrrEN)rvset_chat_permissionsr=)rMrrrorprqrrrEs rOset_permissionsz_ChatBase.set_permissionssL2\\^88GG#-M%'+%!9    r custom_titlec K|jj|j|||||||d{S7w)amShortcut for:: await bot.set_chat_administrator_custom_title( update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.set_chat_administrator_custom_title`. Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrrorprqrrrEN)rv#set_chat_administrator_custom_titler=)rMrrrorprqrrrEs rOset_administrator_custom_titlez(_ChatBase.set_administrator_custom_titlesM0\\^GGGG%%'+%!H    rphotoc ~K|jj|j||||||d{S7w)akShortcut for:: await bot.set_chat_photo( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.set_chat_photo`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrorprqrrrEN)rvset_chat_photor=)rMrrorprqrrrEs rO set_photoz_ChatBase.set_photoI2\\^22GG%'+%!3    rc|K|jj|j|||||d{S7w)aqShortcut for:: await bot.delete_chat_photo( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.delete_chat_photo`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rvdelete_chat_photor=rxs rO delete_photoz_ChatBase.delete_photo5sF0\\^55GG%'+%! 6    rzc ~K|jj|j||||||d{S7w)akShortcut for:: await bot.set_chat_title( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.set_chat_title`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurArorprqrrrEN)rvset_chat_titler=)rMrArorprqrrrEs rO set_titlez_ChatBase.set_titleVrr descriptionc ~K|jj|j||||||d{S7w)awShortcut for:: await bot.set_chat_description( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.set_chat_description`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrorprqrrrEN)rvset_chat_descriptionr=)rMrrorprqrrrEs rOset_descriptionz_ChatBase.set_descriptionysI2\\^88GG#%'+%!9    r message_iddisable_notificationbusiness_connection_idc K|jj|j|||||||| d{S7w)a0Shortcut for:: await bot.pin_chat_message(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.pin_chat_message`. Returns: :obj:`bool`: On success, :obj:`True` is returned. ) rurrrorprqrrrErN)rvpin_chat_messager=) rMrrrrorprqrrrEs rO pin_messagez_ChatBase.pin_messagesO.\\^44GG!!5%'+%!#95    rc K|jj|j|||||||d{S7w)a4Shortcut for:: await bot.unpin_chat_message(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.unpin_chat_message`. Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurorprqrrrErrN)rvunpin_chat_messager=)rMrrrorprqrrrEs rO unpin_messagez_ChatBase.unpin_messagesL,\\^66GG%'+%!!#97    rc|K|jj|j|||||d{S7w)a>Shortcut for:: await bot.unpin_all_chat_messages(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.unpin_all_chat_messages`. Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rvunpin_all_chat_messagesr=rxs rOunpin_all_messagesz_ChatBase.unpin_all_messagessF(\\^;;GG%'+%! <    rz)reply_to_message_idallow_sending_without_replydisable_web_page_previewrorprqrrrEtext parse_mode reply_markupentitiesr/protect_contentmessage_thread_idlink_preview_optionsr,reply_parametersr2message_effect_idallow_paid_broadcastdirect_messages_topic_idsuggested_post_parametersr4rrrr.cK|jj|j||||||| ||||||||||| | | | |d{S7w)a6Shortcut for:: await bot.send_message(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_message`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurrrrrrrrrrrrrorprqrrrErrrrrN)rv send_messager=)rMrrrrrrrrrrrrrrrrrrorprqrrrEs rOrz_ChatBase.send_messageszH\\^00GG!%=!5 3!5-%(C+/%'+%!#9/!5%=&?/1    rc ~K|jj|j||||||d{S7w)a;Shortcut for:: await bot.delete_message(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.delete_message`. .. versionadded:: 20.8 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrorprqrrrEN)rvdelete_messager=)rMrrorprqrrrEs rOrz_ChatBase.delete_message;sI,\\^22GG!%'+%!3    r message_idsc ~K|jj|j||||||d{S7w)a=Shortcut for:: await bot.delete_messages(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.delete_messages`. .. versionadded:: 20.8 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrorprqrrrEN)rvdelete_messagesr=)rMrrorprqrrrEs rOrz_ChatBase.delete_messages[sI,\\^33GG#%'+%!4    r) rrrorprqrrrEcaptionrcaption_entitiesmedia)r%r&r'r(rr)r..c K|jj|j||| | | |||| |||||||||| d{S7w)asShortcut for:: await bot.send_media_group(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_media_group`. Returns: tuple[:class:`telegram.Message`]: On success, a tuple of :class:`~telegram.Message` instances that were sent is returned. )rurrrrorprqrrrErrrrrrrrrrrN)rvsend_media_groupr=)rMrrrrrrrrrrrrorprqrrrErrrs rOrz_ChatBase.send_media_group{sqH\\^44GG!5 3%'+%!(C+/!--#9/!5%=)5    AA AA actionc K|jj|j|||||||| d{S7w)aShortcut for:: await bot.send_chat_action(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_chat_action`. Returns: :obj:`bool`: On success, :obj:`True` is returned. ) rurrrorprqrrrErN)rvsend_chat_actionr=) rMrrrrorprqrrrEs rOrz_ChatBase.send_chat_actionsO,\\^44GG/%'+%!#95    r)rrfilenamerorprqrrrEr1 has_spoilershow_caption_above_mediarcK|jj|j||||| ||||||||||||| | | | |||d{S7w)a2Shortcut for:: await bot.send_photo(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_photo`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurrrrrrrrrrrrrorprqrrrErrrrrrrN)rv send_photor=)rMrrrrrrrrrrrrrrrrrrrrorprqrrrEs rOrz_ChatBase.send_photosL\\^..GG!5 3-%!(C-+/%'+%!##9/!5%=%=&?3/    AAA  A)rrcontactrorprqrrrE phone_numbervcardrr cK|jj|j|||||| |||||||||||| | | | |d{S7w)a6Shortcut for:: await bot.send_contact(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_contact`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurr<r@rrrrrorprqrrrrrErrrrrrrrN)rv send_contactr=)rMrr<r@rrrrrrrrrrrrrrrorprqrrrEs rOrz_ChatBase.send_contactszH\\^00GG%!!5 3-%%'+%!(C+/#9/!5%=&?/1    raudiorduration performer thumbnailcK|jj|j|||||||| |||| || | |||||| |||||d{S7w)a2Shortcut for:: await bot.send_audio(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_audio`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurr r rArrrrrrrrrrrrorprqrrrEr rrrrrN)rv send_audior=)rMrr r rArrrrrrrr rrrrrrrrrrorprqrrrEs rOr z_ChatBase.send_audio[sP\\^..GG!5 3-%!(C-+/%'+%!#9/!5%=&?7/    AA A Adocumentr!disable_content_type_detectioncK|jj|j|||||| ||||||| |||||| | | |||d{S7w)a8Shortcut for:: await bot.send_document(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_document`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurrrrrrrrorprqrrrr rErrrrrrrrrrN)rv send_documentr=)rMrrrrrrrrrr rrrrrrrrrrorprqrrrEs rOrz_ChatBase.send_documentsL\\^11GG!5 3-%%'+%!!+I(C-+/#9/!5%=&?32    r)rrrorprqrrrE checklistr$r#cK|jj|j||||||||| | | | | |d{S7w)abShortcut for:: await bot.send_checklist(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_checklist`. .. versionadded:: 22.3 Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurrrrrrrrrrorprqrrrEN)rvsend_checklistr=)rMrrrrrrrrrrorprqrrrEs rOrz_ChatBase.send_checklistsa<\\^22GG#9!5+/-% 3(C%'+%!3    sAAApayloadcurrencypricesr+provider_tokenstart_parameter photo_url photo_size photo_width photo_height need_nameneed_phone_number need_emailneed_shipping_address is_flexible provider_datasend_phone_number_to_providersend_email_to_providermax_tip_amountsuggested_tip_amountscRK|jjd(id|jd|d|d|d|d|d|d|d |d | d | d | d | d| d|d|d|d|d|d|d|d|d|d|!d|"d|#d|$d|%d| d|d|d |d!|d"|d#|d$|d%|d&|d'{S7w))aShortcut for:: await bot.send_invoice(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_invoice`. Warning: As of API 5.2 :paramref:`start_parameter ` is an optional argument and therefore the order of the arguments had to be changed. Use keyword arguments to make sure that the arguments are passed correctly. .. versionchanged:: 13.5 As of Bot API 5.2, the parameter :paramref:`start_parameter ` is optional. Returns: :class:`telegram.Message`: On success, instance representing the message posted. rurArrrrrr r!r"r#r$r%r&r'r(r)rrrr*r+r,rorprqrrrErr-r.rrrrrrrN)rv send_invoicer=)&rMrArrrrrr r!r"r#r$r%r&r'r(r)rrr*r+r,r-r.rrrrrrrrrrorprqrrrEs& rOr1z_ChatBase.send_invoice{sz1T\\^00' GG' ' $'  ' * '  ' ' ,'  ' "' $' &'  ' 0' "' #8!' "$#' $"6%' &!4'' (&)' *(+' ,+H-' .$:/' 0&1' 2(3' 4,5' 6&7' 8"9' :)D;' <*=' >#8?' @,A' B0C' D.E' F0G' H"6I' J&>K' L'@M' ' ' ' sBB' B%!B')rrlocationrorprqrrrElatitude longitude live_periodhorizontal_accuracyheadingproximity_alert_radiusr2r-cK|jj|j||||| ||||||||||||| | | | |||d{S7w)a8Shortcut for:: await bot.send_location(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_location`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rur3r4rrrrrorprqrrr2r5rEr6r7r8rrrrrrrrN)rv send_locationr=)rMr3r4rrr5r6r7r8rrrrrrrrrrr2rorprqrrrEs rOr:z_ChatBase.send_locationsL\\^11GG!5 3-%%'+%#! 3#9(C+/#9/!5%=&?32    r animationrwidthheightcK|jjdid|jd|d|d|d|d|d|d|d |d |d |d |d |d|d|d|d|d| d|d| d| d| d| d|d|d|d|d|d|d{S7w) a:Shortcut for:: await bot.send_animation(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_animation`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. rur;r r<r=rrrrrrrorprqrrrErrrrrrr rrrrrrNr0)rvsend_animationr=)rMr;r r<r=rrrrrrrrr rrrrrrrrrrrorprqrrrEs rOr?z_ChatBase.send_animation#sRT3T\\^22 GG         " "6 !4 . & & ( , & "! ")D# $.% &' (,) *0+ ,$- . / 0$:1 203 4"65 6&>7 8&>9 :'@;    sBB B B stickerr3c K|jj|j||| ||||||||||||| | | | d{S7w)a6Shortcut for:: await bot.send_sticker(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_sticker`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rur@rrrrrorprqrrrErrrrrrrrrN)rv send_stickerr=)rMr@rrrrrrrrrrrrrrorprqrrrEs rOrBz_ChatBase.send_stickermsqB\\^00GG!5 3-%%'+%!(C+/#9/!5%=&?)1    r)rrvenuerorprqrrrEaddress foursquare_idfoursquare_typegoogle_place_idgoogle_place_typerCr6cK|jj|j|||||||| ||||||||| | || | |||||d{S7w)a2Shortcut for:: await bot.send_venue(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_venue`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rur3r4rArDrErrrrrorprqrrrCrFrErGrHrrrrrrrrN)rv send_venuer=)rMr3r4rArDrErrrFrGrHrrrrrrrrrrrCrorprqrrrEs rOrJz_ChatBase.send_venuesP\\^..GG'!5 3-%%'+%+!+/(C+/#9/!5%=&?7/    rvideor7supports_streamingcoverstart_timestampc.K|jjd"id|jd|d|d|d|d|d|d|d |d |d |d |d |d|d|d| d|d|d|d|d|d| d|d| d| d| d|d|d|d|d|d |d!{S7w)#a2Shortcut for:: await bot.send_video(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_video`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. rurKr rrrrrrorprqrrr<r=rrLr rMrNrErrrrrrrrrrrrNr0)rv send_videor=) rMrKr rrrr<r=rrLrrrrr rrrrrrMrNrrrrrrorprqrrrEs rOrPz_ChatBase.send_videosrZ/T\\^..! GG! ! !  ! "6 ! !4 ! .! &! &! (! ,! &! ! ! "! 2!! " #! $%! &,'! (")! *)D+! ,.-! ./! 0,1! 203! 4$5! 6$:7! 809! :"6;! <&>=! >&>?! @'@A! ! ! ! sB BBB video_noter8lengthcK|jj|j|||||| |||||||||||| | | | |d{S7w)a<Shortcut for:: await bot.send_video_note(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_video_note`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurQr rRrrrrrorprqrrr rErrrrrrrrrN)rvsend_video_noter=)rMrQr rRrrrrr rrrrrrrrrrorprqrrrEs rOrTz_ChatBase.send_video_note;szH\\^33GG!!5 3-%%'+%!(C+/#9/!5%=&?/4    rvoicer9cK|jj|j|||||| |||||||||||| | | | ||d{S7w)a2Shortcut for:: await bot.send_voice(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_voice`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurUr rrrrrrorprqrrrrErrrrrrrrrrN)rv send_voicer=)rMrUr rrrrrrrrrrrrrrrrrorprqrrrEs rOrWz_ChatBase.send_voiceys}J\\^..GG!5 3-%%'+%!!(C-+/#9/!5%=&?1/    AAA Aquestionoptionsr*allows_multiple_answerscorrect_option_id is_closed explanationexplanation_parse_mode open_period close_dateexplanation_entitiesquestion_parse_modequestion_entitiesc"K|jjd id|jd|d|d|d|d|d|d|d |d |d |d | d |d|d|d|d|d|d| d| d| d| d|d|d|d|d|d|d|d|d{S7w)!a0Shortcut for:: await bot.send_poll(update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_poll`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. rurYrZrrBr[r\r]rrrrrorprqrrrrr^r_r`rarErrbrrrrcrdNr0)rv send_pollr=)rMrYrZrrBr[r\r]rrr^r_r`rarbrrrrrcrdrrrrrorprqrrrEs rOrfz_ChatBase.send_polls[V.T\\^-- GG   &    %<  0   "6 !4 . & & ( , &! "0# $"6% &$' ($:) *$+ ,"- ."/ 0)D1 2"63 4,5 607 8$:9 :!4; <0=    sBBB  B from_chat_idvideo_start_timestampr0cK|jj|j|||| ||||| ||||||||| | | ||d{S7w)aShortcut for:: await bot.copy_message(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.copy_message`. .. seealso:: :meth:`copy_message`, :meth:`send_copies`, :meth:`copy_messages`. Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurgrrrhrrrrrrrrorprqrrrErrrrrrNrv copy_messager=)rMrgrrrrrrrrrrrrhrrrrrorprqrrrEs rO send_copyz_ChatBase.send_copy szL\\^00GG%!"7!-!5 3-(C%%'+%!+/%=!5%=&?/1    rcK|jj|j|||| ||||| ||||||||| | | ||d{S7w)aShortcut for:: await bot.copy_message(from_chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.copy_message`. .. seealso:: :meth:`send_copy`, :meth:`send_copies`, :meth:`copy_messages`. Returns: :class:`telegram.MessageId`: On success, returns the MessageId of the sent message. )rgrurrrhrrrrrrrrorprqrrrErrrrrrNrj)rMrurrrrrrrrrrrrhrrrrrorprqrrrEs rOrkz_ChatBase.copy_messageE szL\\^00!"7!-!5 3-(C%%'+%!+/%=!5%=&?/1    rremove_caption)r0.cK|jj|j|||||||| | | | | d{S7w)aShortcut for:: await bot.copy_messages(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.copy_messages`. .. seealso:: :meth:`copy_message`, :meth:`send_copy`, :meth:`copy_messages`. .. versionadded:: 20.8 Returns: tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId` of the sent messages is returned. ) rurgrrrrrnrorprqrrrErNrv copy_messagesr=) rMrgrrrrrnrrorprqrrrEs rO send_copiesz_ChatBase.send_copies s[>\\^11GG%#!5+/)%'+%!%=2    :AAAcK|jj|j|||||||| | | | | d{S7w)aShortcut for:: await bot.copy_messages(from_chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.copy_messages`. .. seealso:: :meth:`copy_message`, :meth:`send_copy`, :meth:`send_copies`. .. versionadded:: 20.8 Returns: tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId` of the sent messages is returned. ) rgrurrrrrnrorprqrrrErNrp) rMrurrrrrnrrorprqrrrEs rOrqz_ChatBase.copy_messages s[>\\^11#!5+/)%'+%!%=2    rsc K|jj|j||||| | | | | ||||d{S7w)aShortcut for:: await bot.forward_message(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.forward_message`. .. seealso:: :meth:`forward_to`, :meth:`forward_messages_from`, :meth:`forward_messages_to` .. versionadded:: 20.0 Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurgrrhrrorprqrrrErrrrNrvforward_messager=)rMrgrrrrrhrrrorprqrrrEs rO forward_fromz_ChatBase.forward_from s^>\\^33GG%!"7!5%'+%!+/%=&?4    ;AAAc K|jj|j||||| | | | | ||||d{S7w)aShortcut for:: await bot.forward_message(from_chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.forward_message`. .. seealso:: :meth:`forward_from`, :meth:`forward_messages_from`, :meth:`forward_messages_to` .. versionadded:: 20.0 Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rgrurrhrrorprqrrrErrrrNrv)rMrurrrrrhrrrorprqrrrEs rO forward_toz_ChatBase.forward_to s_@\\^33!"7!5%'+%!+/%=&?4    rycK|jj|j|||||||| | | | d{S7w)aShortcut for:: await bot.forward_messages(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.forward_messages`. .. seealso:: :meth:`forward_to`, :meth:`forward_from`, :meth:`forward_messages_to`. .. versionadded:: 20.8 Returns: tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId` of sent messages is returned. ) rurgrrrrrorprqrrrErNrvforward_messagesr=) rMrgrrrrrrorprqrrrEs rOforward_messages_fromz_ChatBase.forward_messages_fromD sX<\\^44GG%#!5+/%'+%!%=5    9AAAcK|jj|j|||||||| | | | d{S7w)aShortcut for:: await bot.forward_messages(from_chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.forward_messages`. .. seealso:: :meth:`forward_from`, :meth:`forward_to`, :meth:`forward_messages_from`. .. versionadded:: 20.8 Returns: tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId` of sent messages is returned. ) rgrurrrrrorprqrrrErNr}) rMrurrrrrrorprqrrrEs rOforward_messages_toz_ChatBase.forward_messages_toq sX<\\^44#!5+/%'+%!%=5    rc|K|jj|j|||||d{S7w)aSShortcut for:: await bot.export_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.export_chat_invite_link`. .. versionadded:: 13.4 Returns: :obj:`str`: New invite link on success. rtN)rvexport_chat_invite_linkr=rxs rOexport_invite_linkz_ChatBase.export_invite_link sF,\\^;;GG%'+%! <    rz expire_date member_limitcreates_join_requestrc K|jj|j||||||| || d{S7w)aShortcut for:: await bot.create_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.create_chat_invite_link`. .. versionadded:: 13.4 .. versionchanged:: 13.8 Edited signature according to the changes of :meth:`telegram.Bot.create_chat_invite_link`. Returns: :class:`telegram.ChatInviteLink` ) rurrrorprqrrrEr^rN)rvcreate_chat_invite_linkr=) rMrrr^rrorprqrrrEs rOcreate_invite_linkz_ChatBase.create_invite_link sR<\\^;;GG#%%'+%!!5<    r invite_linkc K|jj|j||||||| | || d{S7w)aShortcut for:: await bot.edit_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.edit_chat_invite_link`. .. versionadded:: 13.4 .. versionchanged:: 13.8 Edited signature according to the changes of :meth:`telegram.Bot.edit_chat_invite_link`. Returns: :class:`telegram.ChatInviteLink` ) rurrrrorprqrrrEr^rN)rvedit_chat_invite_linkr=) rMrrrr^rrorprqrrrEs rOedit_invite_linkz_ChatBase.edit_invite_link sU<\\^99GG##%%'+%!!5:    s8A?Ac ~K|jj|j||||||d{S7w)aLShortcut for:: await bot.revoke_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.revoke_chat_invite_link`. .. versionadded:: 13.4 Returns: :class:`telegram.ChatInviteLink` )rurrorprqrrrEN)rvrevoke_chat_invite_linkr=)rMrrorprqrrrEs rOrevoke_invite_linkz_ChatBase.revoke_invite_link sI.\\^;;GG#%'+%!<    rsubscription_periodsubscription_pricec K|jj|j|||||||| d{S7w)aShortcut for:: await bot.create_chat_subscription_invite_link( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.create_chat_subscription_invite_link`. .. versionadded:: 21.5 Returns: :class:`telegram.ChatInviteLink` ) rurrr^rorprqrrrEN)rv$create_chat_subscription_invite_linkr=) rMrrr^rorprqrrrEs rOcreate_subscription_invite_linkz)_ChatBase.create_subscription_invite_link5 sP4\\^HHGG 31%'+%!I    rc K|jj|j|||||||d{S7w)aShortcut for:: await bot.edit_chat_subscription_invite_link( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.edit_chat_subscription_invite_link`. .. versionadded:: 21.5 Returns: :class:`telegram.ChatInviteLink` )rurrorprqrrrEr^N)rv"edit_chat_subscription_invite_linkr=)rMrr^rorprqrrrEs rOedit_subscription_invite_linkz'_ChatBase.edit_subscription_invite_link[ sM4\\^FFGG#%'+%!G    rc ~K|jj|j||||||d{S7w)aaShortcut for:: await bot.approve_chat_join_request(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.approve_chat_join_request`. .. versionadded:: 13.8 Returns: :obj:`bool`: On success, :obj:`True` is returned. rN)rvapprove_chat_join_requestr=rs rOapprove_join_requestz_ChatBase.approve_join_request I.\\^==GG%'+%!>    rc ~K|jj|j||||||d{S7w)aaShortcut for:: await bot.decline_chat_join_request(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.decline_chat_join_request`. .. versionadded:: 13.8 Returns: :obj:`bool`: On success, :obj:`True` is returned. rN)rvdecline_chat_join_requestr=rs rOdecline_join_requestz_ChatBase.decline_join_request rr menu_buttonc ~K|jj|j||||||d{S7w)aShortcut for:: await bot.set_chat_menu_button(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.set_chat_menu_button`. Caution: Can only work, if the chat is a private chat. .. seealso:: :meth:`get_menu_button` .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrorprqrrrEN)rvset_chat_menu_buttonr=)rMrrorprqrrrEs rOset_menu_buttonz_ChatBase.set_menu_button sI6\\^88GG#%'+%!9    r icon_coloricon_custom_emoji_idc K|jj|j|||||||| d{S7w)a=Shortcut for:: await bot.create_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.create_forum_topic`. .. versionadded:: 20.0 Returns: :class:`telegram.ForumTopic` ) rur^rrrorprqrrrEN)rvcreate_forum_topicr=) rMr^rrrorprqrrrEs rOrz_ChatBase.create_forum_topic sO0\\^66GG!!5%'+%!7    rc K|jj|j|||||||| d{S7w)aNShortcut for:: await bot.edit_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.edit_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. ) rurr^rrorprqrrrEN)rvedit_forum_topicr=) rMrr^rrorprqrrrEs rOrz_ChatBase.edit_forum_topic sO0\\^44GG/!5%'+%!5    rc ~K|jj|j||||||d{S7w)aPShortcut for:: await bot.close_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.close_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rurrorprqrrrEN)rvclose_forum_topicr=rMrrorprqrrrEs rOrz_ChatBase.close_forum_topic/ sI,\\^55GG/%'+%!6    rc ~K|jj|j||||||d{S7w)aRShortcut for:: await bot.reopen_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.reopen_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rN)rvreopen_forum_topicr=rs rOrz_ChatBase.reopen_forum_topicO I,\\^66GG/%'+%!7    rc ~K|jj|j||||||d{S7w)aRShortcut for:: await bot.delete_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.delete_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rN)rvdelete_forum_topicr=rs rOrz_ChatBase.delete_forum_topico rrc ~K|jj|j||||||d{S7w)azShortcut for:: await bot.unpin_all_forum_topic_messages(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.unpin_all_forum_topic_messages`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rN)rvunpin_all_forum_topic_messagesr=rs rOrz(_ChatBase.unpin_all_forum_topic_messages sJ.\\^BBGG/%'+%!C    rc|K|jj|j|||||d{S7w)aShortcut for:: await bot.unpin_all_general_forum_topic_messages(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.unpin_all_general_forum_topic_messages`. .. versionadded:: 20.5 Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rv&unpin_all_general_forum_topic_messagesr=rxs rOrz0_ChatBase.unpin_all_general_forum_topic_messages sG,\\^JJGG%'+%! K    rzc ~K|jj|j||||||d{S7w)a}Shortcut for:: await bot.edit_general_forum_topic( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.edit_general_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rur^rorprqrrrEN)rvedit_general_forum_topicr=)rMr^rorprqrrrEs rOrz"_ChatBase.edit_general_forum_topic sI0\\^<<GG%'+%!=    rc|K|jj|j|||||d{S7w)a`Shortcut for:: await bot.close_general_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.close_general_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rvclose_general_forum_topicr=rxs rOrz#_ChatBase.close_general_forum_topic sF*\\^==GG%'+%! >    rzc|K|jj|j|||||d{S7w)aShortcut for:: await bot.reopen_general_forum_topic( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.reopen_general_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rvreopen_general_forum_topicr=rxs rOrz$_ChatBase.reopen_general_forum_topic F.\\^>>GG%'+%! ?    rzc|K|jj|j|||||d{S7w)a^Shortcut for:: await bot.hide_general_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.hide_general_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rvhide_general_forum_topicr=rxs rOrz"_ChatBase.hide_general_forum_topic/ F*\\^<<GG%'+%! =    rzc|K|jj|j|||||d{S7w)aShortcut for:: await bot.unhide_general_forum_topic ( chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.unhide_general_forum_topic`. .. versionadded:: 20.0 Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rvunhide_general_forum_topicr=rxs rOrz$_ChatBase.unhide_general_forum_topicM rrzc|K|jj|j|||||d{S7w)aShortcut for:: await bot.get_chat_menu_button(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.get_chat_menu_button`. Caution: Can only work, if the chat is a private chat. .. seealso:: :meth:`set_menu_button` .. versionadded:: 20.0 Returns: :class:`telegram.MenuButton`: On success, the current menu button is returned. rtN)rvget_chat_menu_buttonr=rxs rOget_menu_buttonz_ChatBase.get_menu_buttonm sF4\\^88GG%'+%! 9    rzr5c ~K|jj|j||||||d{S7w)azShortcut for:: await bot.get_user_chat_boosts(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.get_user_chat_boosts`. .. versionadded:: 20.8 Returns: :class:`telegram.UserChatBoosts`: On success, returns the boosts applied in the chat. )rurrErorprqrrN)rvget_user_chat_boostsr=rs rOrz_ChatBase.get_user_chat_boosts sI,\\^88GG!%'+%9    rreactionis_bigc K|jj|j|||||||| d{S7w)aUShortcut for:: await bot.set_message_reaction(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.set_message_reaction`. .. versionadded:: 20.8 Returns: :obj:`bool` On success, :obj:`True` is returned. ) rurrrrorprqrrrEN)rvset_message_reactionr=) rMrrrrorprqrrrEs rOrz_ChatBase.set_message_reaction sO0\\^88GG!%'+%!9    r)rrrorprqrrrE star_countr)cK|jj|j||||||||| | |||||||| | | |||d{S7w)akShortcut for:: await bot.send_paid_media(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.send_paid_media`. .. versionadded:: 21.4 Returns: :class:`telegram.Message`: On success, instance representing the message posted. )rurrrrrrrrrrrrrorprqrrrErrrrrrN)rvsend_paid_mediar=)rMrrrrrrrrrrrrrrrrrrrorprqrrrEs rOrz_ChatBase.send_paid_media s}N\\^33GG!!-%=!5+-%(C 3%'+%!#9!5%=&?/14    rXgift_idr"text_parse_mode text_entitiespay_for_upgradecK|jjd||||||||| | d |jtjk(rdnd|j id{S7w)aVShortcut for:: await bot.send_gift(user_id=update.effective_chat.id, *args, **kwargs ) or:: await bot.send_gift(chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.send_gift`. Caution: Will only work if the chat is a private or channel chat, see :attr:`type`. .. versionadded:: 21.8 .. versionchanged:: 21.11 Added support for channel chats. Returns: :obj:`bool`: On success, :obj:`True` is returned. ) rrrrrrorprqrrrErurNr0)rv send_giftrBChatrUr=) rMrrrrrrorprqrrrEs rOrz_ChatBase.send_giftsuH.T\\^--  +'+%'+%!  !II5y9dggN    sAA#A!A# owned_gift_idc K|jj|j|||||||| d{S7w)aKShortcut for:: await bot.transfer_gift(new_owner_chat_id=update.effective_chat.id, *args, **kwargs ) For the documentation of the arguments, please see :meth:`telegram.Bot.transfer_gift`. .. versionadded:: 22.1 Returns: :obj:`bool`: On success, :obj:`True` is returned. ) new_owner_chat_idrrrrorprqrrrEN)rv transfer_giftr=) rMrrrrorprqrrrEs rOrz_ChatBase.transfer_giftHsO.\\^11"gg#9'!%'+%!2    rcustom_descriptionc ~K|jj|j||||||d{S7w)aEShortcut for:: await bot.verify_chat(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.verify_chat`. .. versionadded:: 21.10 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrorprqrrrEN)rv verify_chatr=)rMrrorprqrrrEs rOverifyz_ChatBase.verifyksI,\\^//GG1%'+%!0    rc|K|jj|j|||||d{S7w)a_Shortcut for:: await bot.remove_chat_verification(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.remove_chat_verification`. .. versionadded:: 21.10 Returns: :obj:`bool`: On success, :obj:`True` is returned. rtN)rvremove_chat_verificationr=rxs rOremove_verificationz_ChatBase.remove_verificationrrzc K|jj|j|||||||d{S7w)aXShortcut for:: await bot.read_business_message(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.read_business_message`. .. versionadded:: 22.1 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrrorprqrrrEN)rvread_business_messager=)rMrrrorprqrrrEs rOrz_ChatBase.read_business_messagesL.\\^99GG#9!%'+%!:    r send_datec K|jj|j|||||||d{S7w)ac Shortcut for:: await bot.approve_suggested_post(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.approve_suggested_post`. .. versionadded:: 22.4 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrrorprqrrrEN)rvapprove_suggested_postr=)rMrrrorprqrrrEs rOrz _ChatBase.approve_suggested_postsL0\\^::GG!%'+%!;    rcommentc K|jj|j|||||||d{S7w)ac Shortcut for:: await bot.decline_suggested_post(chat_id=update.effective_chat.id, *args, **kwargs) For the documentation of the arguments, please see :meth:`telegram.Bot.decline_suggested_post`. .. versionadded:: 22.4 Returns: :obj:`bool`: On success, :obj:`True` is returned. )rurrrorprqrrrEN)rvdecline_suggested_postr=)rMrrrorprqrrrEs rOrz _ChatBase.decline_suggested_postsL0\\^::GG!%'+%!;    r)NNNNNN)N)NN)NNNNNNNNNNNNNNNN)NNNN)__name__ __module__ __qualname____doc__ __slots__intstrrboolrrHr rJrQr__annotations__rRrSrTrUpropertyrZrXr]rrlrrrfloatrytupler}rrIrdtmdatetimerrrrrrrr rrrrrrrrrrrrrrrrrr send_actionrrrr rrrrobjectr1r:r?rBrJrPrTrWrrfrlrkrrrqrxr{rrrrrrrrrrr rr rrrrrrrrrrrrrrr rrrrrrrrr __classcell__)rNs@rOr;r;SsH I $"&$(#'#'-1*. }  3-  SM C=4.%TNX&:#++22FE#J2$,,44GU3Z46!**00E5:04&//::Jc :9#,,44GU3Z46     #8C= # #hsm $LXc]$Lc$LLL LLBL#L#LF)5)5+7(4)- uo    "%  uo  X&   >)5)5+7(4)- uo    "%  uo  X&   ! F)5)5+7(4)- uo    "%  uo  X&   @)5)5+7(4)-  uo     "%  uo X&   B+/9=  )5)5+7(4)-    "$  U3 #456  uo     "%  uo  X&     L)5)5+7(4)-  uo     "%  uo X&   J)5)5+7(4)-! sCx! uo !   ! "% ! uo! X&!  ! N)5)5+7(4)-  uo     "%  uo X&   J)5)5+7(4)-! sCx! uo !   ! "% ! uo! X&!  ! L*. )5)5+7(4)-  ! uo     "% uo X&   F+/,0,0.2+//3+/.2'+*.15,0+/+/-159%F ()5)5+7(4)-1F F "$F $D> F $D> F &d^ F #4.F 'tnF #4.F &d^F tnF "$F !)F $D>F #4.F #4.!F "%TN#F $%-TN%F (uo)F * +F ,"%-F .uo/F 0X&1F 2 3F X:>;? ( )5)5+7(4)-( ( %( U3 #456 ( +34. ( uo(  ( "%( uo( X&(  ( Z<@" )5)5+7(4)-" $" +34." uo "   " "%" uo" X&"  " R)5)5+7(4)-! ! ! uo !   ! "%! uo! X&!  ! N)5)5+7(4)-! ! uo !   ! "% ! uo! X&!  ! L)5)5+7(4)- uo    "%  uo  X&   J)5)5+7(4)-! ! uo !   ! "% ! uo! X&!  ! J&*! )5)5+7(4)-! c]! uo !   ! "% ! uo! X&!  ! L0<04 ! )5)5+7(4)-! ! 'tn! !) ! uo !  ! "%! uo! X&!  ! J%)04 )5)5+7(4)- SM !)  uo     "% uo X&   H)5)5+7(4)- uo    "%  uo  X&   @%1/;.28<*6+/?K8<04+//326IM< ".26B37(4)5+7(4)-1< < SM< 'tn < {+ < 8O45 < "$< $C=< '';<< ##45< !) < $C=< 'tn< #+3-< $,,E#F< "&c]#< $&.d^%< &#+4.'< (uo)< * +< ,"%-< .uo/< 0X&1< 2 3< D)5)5+7(4)-  uo     "%  uo X&   H)5)5+7(4)- c] uo     "%  uo X&   J0<*6+/8<04+//3269 .26B(4)5+7(4)-!%$0@D/9  _ ` 9 'tn 9 "$ 9 $C=9 ##459 !) 9 $C=9 'tn9 #+3-9 &c]9 &.d^9 uo!9 " #9 $"%%9 &uo'9 (X&)9 *#+9 ,SM-9 .#8O#<=/9 0 ~ 19 |,004  )5)5+7(4)-    $C=  !)  uo     "%  uo  X&     D#K, "&/;.2$0@D*6+/&*8<04+//33726IM#@ &.26B"&(4)5+7(4)-5@ Y +,@ #@ 'tn @ {+ @ SM @ #8O#<=@ "$@ $C=@ d^@ ##45@ !) @ $C=@ 'tn@ #+4.@ #+3-!@ "$,,E#F#@ &&c]'@ (&.d^)@ *3-+@ ,uo-@ . /@ 0"%1@ 2uo3@ 4X&5@ 6 7@ H'+$(#'/;.2#*6+/8<04+//326IM< ".26B'+(4)5+7(4)-1< sm< SM< C= < 'tn < {+ < }< "$< $C=< ##45< !) < $C=< 'tn< #+3-< $,,E#F< "&c]#< $&.d^%< &)$'< (uo)< * +< ,"%-< .uo/< 0X&1< 2 3< B*.#'#!%/;.2$0@D*6+/)-8<04+//326IM'D *.26B"&(4)5+7(4)-9D Y'(D :&D C= D } D # D 'tnD {+D SMD #8O#<=D "$D $C=D I&D ##45D !) D $C=!D "'tn#D $#+3-%D &$,,E#F'D *&c]+D ,&.d^-D .3-/D 0uo1D 2 3D 4"%5D 6uo7D 8X&9D : ;D R"&/;.2$09=@D*6+/)-8<04+//326IM#@ &.26B"&(4)5+7(4)-5@  :-.@ #@ 'tn @ {+ @ SM @ )1@ #8O#<=@ "$@ $C=@ I&@ ##45@ !) @ $C=@ 'tn@ #+3-!@ "$,,E#F#@ &&c]'@ (&.d^)@ *3-+@ ,uo-@ . /@ 0"%1@ 2uo3@ 4X&5@ 6 7@ L0<9=*68<+/. .26B(4)5+7(4)-!. #. $. 'tn . 56 . "$ . ##45. $C=. &c]. &.d^. uo.  . "%. uo. X&!. " #. d0<.2#*6+/8<04+//326IM4 .26B(4)5+7(4)-)4 &tn4 {+4 } 4 "$ 4 $C= 4 ##454 !) 4 $C=4 'tn4 #+3-4 $,,E#F4 &c]4 &.d^4 uo!4 " #4 $"%%4 &uo'4 (X&)4 * +4 r0<9=*6+/8<04+//30 .26B(4)5+7(4)-%0 0 'tn0 56 0 "$ 0 $C= 0 ##450 !) 0 $C=0 'tn0 &c]0 &.d^0 uo0  0 "%!0 "uo#0 $X&%0 & '0 r)-)-#'$(%)&*$(,0%)04&*/;9=6:8<15(,9=*6+/8<+//326IM?d B.26B(4)5+7(4)-Od d d  d  d ( d ! d "#d C=d SMd c]d smd D>d $D>d TNd (~!d "d^#d $'tn%d &56'd ( c6k 23)d *(0~+d ,!)-d .! /d 0 ( 61d 2"$3d 4$C=5d 6##457d 8$C=9d :'tn;d <#+3-=d >$,,E#F?d B&c]Cd D&.d^Ed FuoGd H Id J"%Kd LuoMd NX&Od P Qd P%)%)/;.2,0/3!%04*6+/8<04+//326IM#@ &.26B)-(4)5+7(4)-5@ 5/@ E?@ 'tn @ {+ @ j) @ &e_@ #@ !) @ "$@ $C=@ ##45@ !) @ $C=@ 'tn@ #+3-!@ "$,,E#F#@ &&c]'@ (&.d^)@ *:&+@ ,uo-@ . /@ 0"%1@ 2uo3@ 4X&5@ 6 7@ J*.# $!%$0/;.2@D*6+/&*)-8<04+//33726IM+H ..26B"&(4)5+7(4)-=H K/0H :&H } H  H # H SMH 'tnH {+H #8O#<=H "$H $C=H d^H I&H ##45H !) !H "$C=#H $'tn%H &#+4.'H (#+3-)H *$,,E#F+H .&c]/H 0&.d^1H 23-3H 4uo5H 6 7H 8"%9H :uo;H <X&=H > ?H Z0<.2*6+/#8<04+//326IM6 .26B(4)5+7(4)-+6 y)+,6 'tn6 {+ 6 "$ 6 $C= 6 }6 ##456 !) 6 $C=6 'tn6 #+3-6 $,,E#F6 &c]6 &.d^!6 "uo#6 $ %6 &"%'6 (uo)6 *X&+6 , -6 t%)%)#!%'+/;.2)-)-+/*6+/8<04+//326IM'D *.26B#'(4)5+7(4)-9D 5/D E?D } D # D  } D 'tnD {+D "#D "#D $C=D "$D $C=D ##45D !) D $C=!D "'tn#D $#+3-%D &$,,E#F'D *&c]+D ,&.d^-D . /D 0uo1D 2 3D 4"%5D 6uo7D 8X&9D : ;D R*.!%/;.2# $$0-1@D*6+/&*)-8<04+//337%))-26IM1N 4.26B"&(4)5+7(4)-CN Y'(N :&N # N 'tn N {+ N }N  N SMN %TNN #8O#<=N "$N $C=N d^N I&N ##45!N "!) #N $$C=%N &'tn'N (#+4.)N * "+N ,"#-N .#+3-/N 0$,,E#F1N 4&c]5N 6&.d^7N 83-9N :uo;N < =N >"%?N @uoAN BX&CN D EN f*. $/;.2*6+/)-8<04+//326IM< ".26B"&(4)5+7(4)-1< )[01< :&<  < 'tn < {+ < "$< $C=< I&< ##45< !) < $C=< 'tn< #+3-< $,,E#F< "&c]#< $&.d^%< &3-'< (uo)< * +< ,"%-< .uo/< 0X&1< 2 3< B*.!%/;.2$0@D*6+/8<04+//326IM!> $.26B"&(4)5+7(4)-3> Y'(> :&> # > 'tn > {+ > SM> #8O#<=> "$> $C=> ##45> !) > $C=> 'tn> #+3-> $,,E#F!> $&c]%> &&.d^'> (3-)> *uo+> , -> ."%/> 0uo1> 2X&3> 4 5> H(,"267;$(/;.2%)0<,09=DH*6+/8<04-9AE+//3/J 2.26B(4)5+7(4)-?J J %%6 678J tn J sm J "*$ J $O4J D>J 'tnJ {+J c]J !) J j)J U3 #456J 'x'@AJ "$!J "$C=#J $##45%J &!) 'J (&c])J *$H_$=>+J ,$C=-J .'tn/J 2&c]3J 4&.d^5J 6uo7J 8 9J :"%;J <uo=J >X&?J @ AJ `"&$0@D/;.2*6+/8<37/3/326IM!> $.26B(4)5+7(4)-1> CHo> > # > SM > #8O#<= > 'tn> {+> "$> $C=> ##45> #+4.> 'tn>  (}> #+3-> $,,E#F!> $&c]%> &&.d^'> (uo)> * +> ,"%-> .uo/> 0X&1> 2 3> H"&$0@D/;.2*6+/8<37/3/326IM!> $.26B(4)5+7(4)-1> sCx> > # > SM > #8O#<= > 'tn> {+> "$> $C=> ##45> #+4.> 'tn>  (}> #+3-> $,,E#F!> $&c]%> &&.d^'> (uo)> * +> ,"%-> .uo/> 0X&1> 2 3> H0<*6+/)-26- )5)5+7(4)-- CHo- c]- 'tn - "$ - $C= - !- #+3-- uo-  - "%- uo- X&-   - f0<*6+/)-26- )5)5+7(4)-- sCx- c]- 'tn - "$ - $C= - !- #+3-- uo-  - "%- uo- X&-   - f0<*6+//326IM. )5)5+7(4)-. CHo. . 'tn . "$ . $C= .  (}. #+3-. $,,E#F. uo.  . "%. uo. X&. !. h0<*6+//326IM/ )5)5+7(4)-/ sCx/ / 'tn / "$ / $C= /  (}/ #+3-/ $,,E#F/ uo/  / "%/ uo/ X&/ !/ j0<*6+/26+ )5)5+7(4)-+ CHo+ c]+ 'tn + "$ + $C= + #+3-+ uo+  + "%+ uo+ X&+   + b0<*6+/26+ )5)5+7(4)-+ sCx+ c]+ 'tn + "$ + $C= + #+3-+ uo+  + "%+ uo+ X&+   + `)5)5+7(4)- uo    "%  uo  X&   B;?&*"/3 ) )5)5+7(4)-) eC$567) sm) sm ) 'tn ) uo)  ) "%) uo) X&)  ) \;?&*"/3 * )5)5+7(4)-* 3 001* eC$567* sm * sm * 'tn * uo*  * "%* uo* X&*  * `)5)5+7(4)- 3 001 uo     "%  uo X&   J# $ )5)5+7(4)-$ '$  $ sm $ uo $  $ "%$ uo$ X&$  $ R## )5)5+7(4)-# 3 001# sm# uo #   # "%# uo# X&#  # R)5)5+7(4)-  uo     "%  uo X&   J)5)5+7(4)-  uo     "%  uo X&   F-1# )5)5+7(4)-# j)# uo #   # "% # uo# X&#  # P%).2 " )5)5+7(4)-" " SM" 'sm " uo "  " "%" uo" X&"  " N#.2 " )5)5+7(4)-" " sm" 'sm " uo "  " "%" uo" X&"  " P)5)5+7(4)-  uo     "%  uo X&   H)5)5+7(4)-  uo     "%  uo X&   H)5)5+7(4)-  uo     "%  uo X&   H)5)5+7(4)-  uo     "%  uo X&   H)5)5+7(4)- uo    "%  uo  X&   F)5)5+7(4)-    uo     "%  uo  X&     J)5)5+7(4)- uo    "%  uo  X&   B)5)5+7(4)- uo    "%  uo  X&   F)5)5+7(4)- uo    "%  uo  X&   B)5)5+7(4)- uo    "%  uo  X&   F)5)5+7(4)-! uo!   ! "% ! uo ! X&!  ! N)5)5+7(4)-  uo     "%  uo X&   F\`!% " )5)5+7(4)-" " 5% c0A*B!C\SV!VWX"  " uo "  " "%" uo" X&"  " P"&$0@D37/;*68<.204!%/326IM+/#@ &7C-1(4)5+7(4)-3@ @ ()@ # @ SM @ #8O#<= @ #+4.@ 'tn@ "$@ ##45@ {+@ !) @ #@ 'tn@ #+3-@ $,,E#F!@ "$C=#@ &&.d^'@ (&c])@ *uo+@ , -@ ."%/@ 0uo1@ 2X&3@ 4 5@ J#)5=A*. 0 )5)5+7(4)-0 sF{#0 sm0 "# 0   9: 0 "$ 0 uo0  0 "%0 uo0 X&0  0 l%) ! )5)5+7(4)-! #! ! SM ! uo !  ! "%! uo! X&!  ! J-1 )5)5+7(4)- $SM uo     "%  uo X&   F)5)5+7(4)- uo    "%  uo  X&   F)5)5+7(4)-  #    uo     "%  uo  X&     J9=! )5)5+7(4)-! ! E#s||"345! uo !   ! "%! uo! X&!  ! L"&! )5)5+7(4)-! ! #! uo !   ! "%! uo! X&!  ! ! rPr;ceZdZdZdZy)ra This object represents a chat. Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their :attr:`id` is equal. .. versionchanged:: 20.0 * Removed the deprecated methods ``kick_member`` and ``get_members_count``. * The following are now keyword-only arguments in Bot methods: ``location``, ``filename``, ``contact``, ``{read, write, connect, pool}_timeout``, ``api_kwargs``. Use a named argument for those, and notice that some positional arguments changed position as a result. .. versionchanged:: 20.0 Removed the attribute ``all_members_are_administrators``. As long as Telegram provides this field for backwards compatibility, it is available through :attr:`~telegram.TelegramObject.api_kwargs`. .. versionchanged:: 21.3 As per Bot API 7.3, most of the arguments and attributes of this class have now moved to :class:`telegram.ChatFullInfo`. Args: id (:obj:`int`): Unique identifier for this chat. type (:obj:`str`): Type of chat, can be either :attr:`PRIVATE`, :attr:`GROUP`, :attr:`SUPERGROUP` or :attr:`CHANNEL`. title (:obj:`str`, optional): Title, for supergroups, channels and group chats. username (:obj:`str`, optional): Username, for private chats, supergroups and channels if available. first_name (:obj:`str`, optional): First name of the other party in a private chat. last_name (:obj:`str`, optional): Last name of the other party in a private chat. is_forum (:obj:`bool`, optional): :obj:`True`, if the supergroup chat is a forum (has topics_ enabled). .. versionadded:: 20.0 is_direct_messages (:obj:`bool`, optional): :obj:`True`, if the chat is the direct messages chat of a channel. .. versionadded:: 22.4 Attributes: id (:obj:`int`): Unique identifier for this chat. type (:obj:`str`): Type of chat, can be either :attr:`PRIVATE`, :attr:`GROUP`, :attr:`SUPERGROUP` or :attr:`CHANNEL`. title (:obj:`str`): Optional. Title, for supergroups, channels and group chats. username (:obj:`str`): Optional. Username, for private chats, supergroups and channels if available. first_name (:obj:`str`): Optional. First name of the other party in a private chat. last_name (:obj:`str`): Optional. Last name of the other party in a private chat. is_forum (:obj:`bool`): Optional. :obj:`True`, if the supergroup chat is a forum (has topics_ enabled). .. versionadded:: 20.0 is_direct_messages (:obj:`bool`): Optional. :obj:`True`, if the chat is the direct messages chat of a channel. .. versionadded:: 22.4 .. _topics: https://telegram.org/blog/topics-in-groups-collectible-usernames#topics-in-groups r0N)rrrrrr0rPrOrrs;zIrPr)Lrrrcollections.abcrhtmlrtypingrrrrtelegramr telegram._chatpermissionsr telegram._forumtopicr telegram._menubuttonr telegram._reactionr telegram._telegramobjectrtelegram._utilsrtelegram._utils.defaultvaluertelegram._utils.typesrrrrrrtelegram._utils.usernamesrrtelegram.helpersrrrnrrfrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r;rr0rPrOr s(F$885+++3 5>,AID|: |: ~u>9>rP