This object contains full information about a chat. Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their :attr:`~telegram.Chat.id` is equal. .. versionadded:: 21.2 .. versionchanged:: 21.3 Explicit support
| 51 | |
| 52 | |
| 53 | class ChatFullInfo(_ChatBase): |
| 54 | """ |
| 55 | This object contains full information about a chat. |
| 56 | |
| 57 | Objects of this class are comparable in terms of equality. Two objects of this class are |
| 58 | considered equal, if their :attr:`~telegram.Chat.id` is equal. |
| 59 | |
| 60 | .. versionadded:: 21.2 |
| 61 | |
| 62 | .. versionchanged:: 21.3 |
| 63 | Explicit support for all shortcut methods known from :class:`telegram.Chat` on this |
| 64 | object. Previously those were only available because this class inherited from |
| 65 | :class:`telegram.Chat`. |
| 66 | |
| 67 | .. versionremoved:: 22.3 |
| 68 | Removed argument and attribute ``can_send_gift`` deprecated by API 9.0. |
| 69 | |
| 70 | Args: |
| 71 | id (:obj:`int`): Unique identifier for this chat. |
| 72 | type (:obj:`str`): Type of chat, can be either :attr:`PRIVATE`, :attr:`GROUP`, |
| 73 | :attr:`SUPERGROUP` or :attr:`CHANNEL`. |
| 74 | accent_color_id (:obj:`int`, optional): Identifier of the |
| 75 | :class:`accent color <telegram.constants.AccentColor>` for the chat name and |
| 76 | backgrounds of the chat photo, reply header, and link preview. See `accent colors`_ |
| 77 | for more details. |
| 78 | |
| 79 | .. versionadded:: 20.8 |
| 80 | max_reaction_count (:obj:`int`): The maximum number of reactions that can be set on a |
| 81 | message in the chat. |
| 82 | |
| 83 | .. versionadded:: 21.2 |
| 84 | accepted_gift_types (:class:`telegram.AcceptedGiftTypes`): Information about types of |
| 85 | gifts that are accepted by the chat or by the corresponding user for private chats. |
| 86 | |
| 87 | .. versionadded:: 22.1 |
| 88 | title (:obj:`str`, optional): Title, for supergroups, channels and group chats. |
| 89 | username (:obj:`str`, optional): Username, for private chats, supergroups and channels if |
| 90 | available. |
| 91 | first_name (:obj:`str`, optional): First name of the other party in a private chat. |
| 92 | last_name (:obj:`str`, optional): Last name of the other party in a private chat. |
| 93 | is_forum (:obj:`bool`, optional): :obj:`True`, if the supergroup chat is a forum |
| 94 | (has topics_ enabled). |
| 95 | |
| 96 | .. versionadded:: 20.0 |
| 97 | photo (:class:`telegram.ChatPhoto`, optional): Chat photo. |
| 98 | active_usernames (Sequence[:obj:`str`], optional): If set, the list of all `active chat |
| 99 | usernames <https://telegram.org/blog/topics-in-groups-collectible-usernames\ |
| 100 | #collectible-usernames>`_; for private chats, supergroups and channels. |
| 101 | |
| 102 | .. versionadded:: 20.0 |
| 103 | birthdate (:class:`telegram.Birthdate`, optional): For private chats, |
| 104 | the date of birth of the user. |
| 105 | |
| 106 | .. versionadded:: 21.1 |
| 107 | business_intro (:class:`telegram.BusinessIntro`, optional): For private chats with |
| 108 | business accounts, the intro of the business. |
| 109 | |
| 110 | .. versionadded:: 21.1 |
no outgoing calls
searching dependent graphs…