ChatMemberRestricted constructor
const
ChatMemberRestricted({
- required User user,
- required bool isMember,
- required bool canChangeInfo,
- required bool canInviteUsers,
- required bool canPinMessages,
- required bool canSendMessages,
- required bool canSendPolls,
- required bool canSendOtherMessages,
- required bool canAddWebPagePreviews,
- required int untilDate,
- required bool canManageTopics,
- required bool canSendAudios,
- required bool canSendDocuments,
- required bool canSendPhotos,
- required bool canSendVideos,
- required bool canSendVideoNotes,
- required bool canSendVoiceNotes,
Creates a new ChatMemberRestricted object.
Implementation
const ChatMemberRestricted({
required this.user,
required this.isMember,
required this.canChangeInfo,
required this.canInviteUsers,
required this.canPinMessages,
required this.canSendMessages,
required this.canSendPolls,
required this.canSendOtherMessages,
required this.canAddWebPagePreviews,
required this.untilDate,
required this.canManageTopics,
required this.canSendAudios,
required this.canSendDocuments,
required this.canSendPhotos,
required this.canSendVideos,
required this.canSendVideoNotes,
required this.canSendVoiceNotes,
});