peyk.platforms.telegram.types.chat_member_left¶
Classes
|
Represents a chat member that isn't currently a member of the chat, but may join it themselves. |
- class peyk.platforms.telegram.types.chat_member_left.ChatMemberLeft(status: str = 'left', user: User | None = None)[source]¶
Bases:
objectRepresents a chat member that isn’t currently a member of the chat, but may join it themselves.
- Variables:
status (str) – The member’s status in the chat, always ‘left’
user (peyk.platforms.telegram.types.user.User | None) – Information about the user
- status: str = 'left'¶
- classmethod from_dict(data: dict | None) ChatMemberLeft | None[source]¶
Parse a Telegram API mapping into this type.
- Parameters:
data – Raw Telegram API mapping, or
None.- Returns:
Parsed type instance, or
NonewhendataisNone.