ChatPermissions constructor
const
ChatPermissions({
- required bool canSendBasicMessages,
- required bool canSendAudios,
- required bool canSendDocuments,
- required bool canSendPhotos,
- required bool canSendVideos,
- required bool canSendVideoNotes,
- required bool canSendVoiceNotes,
- required bool canSendPolls,
- required bool canSendOtherMessages,
- required bool canAddWebPagePreviews,
- required bool canChangeInfo,
- required bool canInviteUsers,
- required bool canPinMessages,
- required bool canManageTopics,
Describes actions that a user is allowed to take in a chat
Implementation
const ChatPermissions({
required this.canSendBasicMessages,
required this.canSendAudios,
required this.canSendDocuments,
required this.canSendPhotos,
required this.canSendVideos,
required this.canSendVideoNotes,
required this.canSendVoiceNotes,
required this.canSendPolls,
required this.canSendOtherMessages,
required this.canAddWebPagePreviews,
required this.canChangeInfo,
required this.canInviteUsers,
required this.canPinMessages,
required this.canManageTopics,
});