ChatMemberRestricted constructor
ChatMemberRestricted({
- required String status,
- required User user,
- bool isMember = false,
- bool canChangeInfo = false,
- bool canInviteUsers = false,
- bool canPinMessages = false,
- bool canManageTopics = false,
- bool canSendMessages = false,
- bool? canSendAudios = false,
- bool? canSendDocuments = false,
- bool? canSendPhotos = false,
- bool? canSendVideos = false,
- bool? canSendVideoNotes = false,
- bool? canSendVoiceNotes = false,
- bool canSendPolls = false,
- bool canSendOtherMessages = false,
- bool canAddWebPagePreviews = false,
- required int untilDate,
Implementation
ChatMemberRestricted({
required this.status,
required this.user,
this.isMember = false,
this.canChangeInfo = false,
this.canInviteUsers = false,
this.canPinMessages = false,
this.canManageTopics = false,
this.canSendMessages = false,
this.canSendAudios = false,
this.canSendDocuments = false,
this.canSendPhotos = false,
this.canSendVideos = false,
this.canSendVideoNotes = false,
this.canSendVoiceNotes = false,
this.canSendPolls = false,
this.canSendOtherMessages = false,
this.canAddWebPagePreviews = false,
required this.untilDate,
});