ChatPermissions
Describes actions that a non-administrator user is allowed to take in a chat.
Поля
True, if the user is allowed to send text messages, rich 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 react to messages. If omitted, defaults to the value of can_send_messages.
True, if the user is allowed to edit their own tag. If omitted, defaults to the value of can_pin_messages.
True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups.
True, if the user is allowed to invite new users to the chat
True, if the user is allowed to pin messages. Ignored in public supergroups.
True, if the user is allowed to create forum topics. If omitted, defaults to the value of can_pin_messages.
Где используется
Типы