telegram.ChatMemberBanned

class telegram.ChatMemberBanned(*args, **kwargs)[source]

Bases: telegram.ChatMember

Represents a chat member that was banned in the chat and can’t return to the chat or view chat messages.

New in version 13.7.

Parameters
status[source]

The member’s status in the chat, always 'kicked'.

Type

str

user[source]

Information about the user.

Type

telegram.User

until_date[source]

Date when restrictions will be lifted for this user.

Type

datetime.datetime