Supergroup constructor
const
Supergroup({
- required int id,
- Usernames? usernames,
- required int date,
- required ChatMemberStatus status,
- required int memberCount,
- required int boostLevel,
- required bool hasAutomaticTranslation,
- required bool hasLinkedChat,
- required bool hasLocation,
- required bool signMessages,
- required bool showMessageSender,
- required bool joinToSendMessages,
- required bool joinByRequest,
- required bool isSlowModeEnabled,
- required bool isChannel,
- required bool isBroadcastGroup,
- required bool isForum,
- required bool isDirectMessagesGroup,
- required bool isAdministeredDirectMessagesGroup,
- VerificationStatus? verificationStatus,
- required bool hasDirectMessagesGroup,
- required bool hasForumTabs,
- required bool hasForumSidebar,
- RestrictionInfo? restrictionInfo,
- required int paidMessageStarCount,
- ActiveStoryState? activeStoryState,
- dynamic extra,
- int? clientId,
Represents a supergroup or channel with zero or more members (subscribers in the case of channels)
Implementation
const Supergroup({
required this.id,
this.usernames,
required this.date,
required this.status,
required this.memberCount,
required this.boostLevel,
required this.hasAutomaticTranslation,
required this.hasLinkedChat,
required this.hasLocation,
required this.signMessages,
required this.showMessageSender,
required this.joinToSendMessages,
required this.joinByRequest,
required this.isSlowModeEnabled,
required this.isChannel,
required this.isBroadcastGroup,
required this.isForum,
required this.isDirectMessagesGroup,
required this.isAdministeredDirectMessagesGroup,
this.verificationStatus,
required this.hasDirectMessagesGroup,
required this.hasForumTabs,
required this.hasForumSidebar,
this.restrictionInfo,
required this.paidMessageStarCount,
this.activeStoryState,
this.extra,
this.clientId,
});