chat_member_restricted_t¶
-
struct banana::api::chat_member_restricted_t¶
Represents a chat member that is under certain restrictions in the chat. Supergroups only.
The member’s status in the chat, always “restricted”
Information about the user
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
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
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is restricted forever