Skip to content

ChatMemberStatusRestricted

Type · TDLib 1.8.67 · d1085f9c

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

ChatMemberStatusRestricted(
  is_member: Bool,
  restricted_until_date: int32,
  permissions: ChatPermissions
) → ChatMemberStatus

is_member

Bool

True, if the user is a member of the chat

restricted_until_date

int32

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

permissions

ChatPermissions

User permissions in the chat