Skip to content

ChatPermissions

Describes actions that a non-administrator user is allowed to take in a chat.

Fields

can_send_messagesBooleanOptional
Optional. True, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues
can_send_audiosBooleanOptional
Optional. True, if the user is allowed to send audios
can_send_documentsBooleanOptional
Optional. True, if the user is allowed to send documents
can_send_photosBooleanOptional
Optional. True, if the user is allowed to send photos
can_send_videosBooleanOptional
Optional. True, if the user is allowed to send videos
can_send_video_notesBooleanOptional
Optional. True, if the user is allowed to send video notes
can_send_voice_notesBooleanOptional
Optional. True, if the user is allowed to send voice notes
can_send_pollsBooleanOptional
Optional. True, if the user is allowed to send polls and checklists
can_send_other_messagesBooleanOptional
Optional. True, if the user is allowed to send animations, games, stickers and use inline bots
can_add_web_page_previewsBooleanOptional
Optional. True, if the user is allowed to add web page previews to their messages
can_edit_tagBooleanOptional
Optional. True, if the user is allowed to edit their own tag
can_change_infoBooleanOptional
Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups
can_invite_usersBooleanOptional
Optional. True, if the user is allowed to invite new users to the chat
can_pin_messagesBooleanOptional
Optional. True, if the user is allowed to pin messages. Ignored in public supergroups
can_manage_topicsBooleanOptional
Optional. True, if the user is allowed to create forum topics. If omitted defaults to the value of can\pin\messages

GramIO Usage

See Also