ChatPermissions constructor
const
ChatPermissions({
- bool? canSendMessages,
- bool? canSendPolls,
- bool? canSendOtherMessages,
- bool? canAddWebPagePreviews,
- bool? canChangeInfo,
- bool? canInviteUsers,
- bool? canPinMessages,
- bool? canManageTopics,
- bool? canSendAudios,
- bool? canSendDocuments,
- bool? canSendPhotos,
- bool? canSendVideos,
- bool? canSendVideoNotes,
- bool? canSendVoiceNotes,
Creates a new ChatPermissions object.
Implementation
const ChatPermissions({
this.canSendMessages,
this.canSendPolls,
this.canSendOtherMessages,
this.canAddWebPagePreviews,
this.canChangeInfo,
this.canInviteUsers,
this.canPinMessages,
this.canManageTopics,
this.canSendAudios,
this.canSendDocuments,
this.canSendPhotos,
this.canSendVideos,
this.canSendVideoNotes,
this.canSendVoiceNotes,
});