ChatMemberBanned#
- class aiogram.types.chat_member_banned.ChatMemberBanned(*, status: Literal[ChatMemberStatus.KICKED] = ChatMemberStatus.KICKED, user: User, until_date: datetime, **extra_data: Any)[source]#
Represents a chat member that was banned in the chat and can’t return to the chat or view chat messages.
Source: https://core.telegram.org/bots/api#chatmemberbanned
- status: Literal[ChatMemberStatus.KICKED]#
The member’s status in the chat, always „kicked“
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(_ModelMetaclass__context: Any) None #
We need to both initialize private attributes and call the user-defined model_post_init method.
- until_date: DateTime#
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever