interface ChatMemberRestricted

Represents a chat member that is under certain restrictions in the chat. Supergroups only.

Properties

status: "restricted"

The member's status in the chat, always “restricted”

Information about the user

is_member: boolean

True, if the user is a member of the chat at the moment of the request

True, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues

True, if the user is allowed to send audios

True, if the user is allowed to send documents

True, if the user is allowed to send photos

True, if the user is allowed to send videos

True, if the user is allowed to send video notes

True, if the user is allowed to send voice notes

True, if the user is allowed to send polls and checklists

True, if the user is allowed to send animations, games, stickers and use inline bots

True, if the user is allowed to add web page previews to their messages

True, if the user is allowed to change the chat title, photo and other settings

True, if the user is allowed to invite new users to the chat

True, if the user is allowed to pin messages

True, if the user is allowed to create forum topics

until_date: number

Date when restrictions will be lifted for this user; Unix time. If 0, then the user is restricted forever