ChatPermissions
Describes actions that a non-administrator user is allowed to take in a chat.
Value parameters
- canAddWebPagePreviews
-
Optional. True, if the user is allowed to add web page previews to their messages
- canChangeInfo
-
Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups
- canInviteUsers
-
Optional. True, if the user is allowed to invite new users to the chat
- canManageTopics
-
Optional. True, if the user is allowed to create forum topics. If omitted defaults to the value of can_pin_messages
- canPinMessages
-
Optional. True, if the user is allowed to pin messages. Ignored in public supergroups
- canSendAudios
-
Optional. True, if the user is allowed to send audios
- canSendDocuments
-
Optional. True, if the user is allowed to send documents
- canSendMessages
-
Optional. True, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues
- canSendOtherMessages
-
Optional. True, if the user is allowed to send animations, games, stickers and use inline bots
- canSendPhotos
-
Optional. True, if the user is allowed to send photos
- canSendPolls
-
Optional. True, if the user is allowed to send polls
- canSendVideoNotes
-
Optional. True, if the user is allowed to send video notes
- canSendVideos
-
Optional. True, if the user is allowed to send videos
- canSendVoiceNotes
-
Optional. True, if the user is allowed to send voice notes
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any