peyk.platforms.telegram.types.chat_member_member¶
Classes
|
Represents a chat member that has no additional privileges or restrictions. |
- class peyk.platforms.telegram.types.chat_member_member.ChatMemberMember(status: str = 'member', user: User | None = None, tag: str | None = None, until_date: int | None = None)[source]¶
Bases:
objectRepresents a chat member that has no additional privileges or restrictions.
- Variables:
status (str) – The member’s status in the chat, always ‘member’
user (peyk.platforms.telegram.types.user.User | None) – Information about the user
tag (str | None) – Tag of the member
until_date (int | None) – Date when the user’s subscription will expire; Unix time
- status: str = 'member'¶
- tag: str | None = None¶
- until_date: int | None = None¶
- classmethod from_dict(data: dict | None) ChatMemberMember | None[source]¶
Parse a Telegram API mapping into this type.
- Parameters:
data – Raw Telegram API mapping, or
None.- Returns:
Parsed type instance, or
NonewhendataisNone.