ChatPermissions constructor
const
ChatPermissions({})
Describes actions that a user is allowed to take in a chat
Implementation
const ChatPermissions({
required this.canSendMessages,
required this.canSendMediaMessages,
required this.canSendPolls,
required this.canSendOtherMessages,
required this.canAddWebPagePreviews,
required this.canChangeInfo,
required this.canInviteUsers,
required this.canPinMessages,
});