- class aiogram.types.chat_member_banned.ChatMemberBanned(*, status: ~typing.Literal[<ChatMemberStatus.KICKED: 'kicked'>] = ChatMemberStatus.KICKED, user: ~aiogram.types.user.User, until_date: ~datetime.datetime[~datetime.datetime], **extra_data: ~typing.Any)#
Represents a chat member that was banned in the chat and can’t return to the chat or view chat messages.
- status: Literal[ChatMemberStatus.KICKED]#
The member’s status in the chat, always ‘kicked’
- until_date: DateTime#
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever