Interface ChatMemberStatusRestricted

The user is under certain restrictions in the chat. Not supported in basic groups and channels. Subtype of ChatMemberStatus.

interface ChatMemberStatusRestricted {
    @type: "chatMemberStatusRestricted";
    is_member?: boolean;
    permissions: ChatPermissions;
    restricted_until_date: number;
}

Properties

@type: "chatMemberStatusRestricted"
is_member?: boolean

True, if the user is a member of the chat.

permissions: ChatPermissions

User permissions in the chat.

restricted_until_date: number

Point in time (Unix timestamp) when restrictions will be lifted from the user; 0 if never. If the user is restricted for more than 366 days or for less than 30 seconds from the current time, the user is considered to be restricted forever.