ChatMemberRestricted
Represents a chat member that is under certain restrictions in the chat. Supergroups only.
Value parameters
- canAddWebPagePreviews
-
True, if the user is allowed to add web page previews to their messages
- canChangeInfo
-
True, if the user is allowed to change the chat title, photo and other settings
- canInviteUsers
-
True, if the user is allowed to invite new users to the chat
- canManageTopics
-
True, if the user is allowed to create forum topics
- canPinMessages
-
True, if the user is allowed to pin messages
- canSendAudios
-
True, if the user is allowed to send audios
- canSendDocuments
-
True, if the user is allowed to send documents
- canSendMessages
-
True, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues
- canSendOtherMessages
-
True, if the user is allowed to send animations, games, stickers and use inline bots
- canSendPhotos
-
True, if the user is allowed to send photos
- canSendPolls
-
True, if the user is allowed to send polls
- canSendVideoNotes
-
True, if the user is allowed to send video notes
- canSendVideos
-
True, if the user is allowed to send videos
- canSendVoiceNotes
-
True, if the user is allowed to send voice notes
- isMember
-
True, if the user is a member of the chat at the moment of the request
- untilDate
-
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is restricted forever
- user
-
Information about the user
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ChatMemberclass Objecttrait Matchableclass Any