Guild constructor
Guild({ - required Snowflake id,
- required String name,
- required String? icon,
- String? icon_hash,
- required String? splash,
- required String? discoverySplash,
- bool? owner,
- required Snowflake owner_id,
- BitMask? permissions,
- String? region,
- required Snowflake? afk_channel_id,
- required int afkTimeout,
- bool? widgetEnabled,
- Snowflake? widgetChannelID,
- required int verificationLevel,
- required int defaultMessageNotify,
- required int explicitContentFilter,
- required List<Role> roles,
- required List<Emoji> emojis,
- required List<GuildFeatures> features,
- required int mfaLevel,
- required Snowflake? applicationId,
- required Snowflake? systemChannelId,
- required int systemChannelFlags,
- required Snowflake? rulesChannelId,
- int? maxPresences,
- int? maxMembers,
- required String? vanityUrlCode,
- required String? description,
- required String? banner,
- required int premiumTier,
- int? premiumSubscriptionCount,
- required String preferredLocale,
- required Snowflake? publicUpdateChannelId,
- int? maxVideoChannelUsers,
- int? maxStageVideoChannelUsers,
- int? approximateMemberCount,
- int? approximatePresenceCount,
- WelcomeScreen? welcomeScreen,
- required int nsfwLevel,
- List<Sticker>? stickers,
- required bool premiumProgressBarEnabled,
- required Snowflake? safetyAlertsChannelId,
})
Implementation
Guild(
{required this.id,
required this.name,
required this.icon,
this.icon_hash,
required this.splash,
required this.discoverySplash,
this.owner,
required this.owner_id,
this.permissions,
this.region,
required this.afk_channel_id,
required this.afkTimeout,
this.widgetEnabled,
this.widgetChannelID,
required this.verificationLevel,
required this.defaultMessageNotify,
required this.explicitContentFilter,
required this.roles,
required this.emojis,
required this.features,
required this.mfaLevel,
required this.applicationId,
required this.systemChannelId,
required this.systemChannelFlags,
required this.rulesChannelId,
this.maxPresences,
this.maxMembers,
required this.vanityUrlCode,
required this.description,
required this.banner,
required this.premiumTier,
this.premiumSubscriptionCount,
required this.preferredLocale,
required this.publicUpdateChannelId,
this.maxVideoChannelUsers,
this.maxStageVideoChannelUsers,
this.approximateMemberCount,
this.approximatePresenceCount,
this.welcomeScreen,
required this.nsfwLevel,
this.stickers,
required this.premiumProgressBarEnabled,
required this.safetyAlertsChannelId});