GuildResponse constructor
const
GuildResponse({
- required ContentWarningLevel contentWarningLevel,
- required String name,
- required int afkTimeout,
- required GuildResponseSplashCardAlignmentSplashCardAlignment splashCardAlignment,
- required String id,
- required String ownerId,
- required GuildOperations disabledOperations,
- required NsfwLevel nsfwLevel,
- required GuildMfaLevel mfaLevel,
- required DefaultMessageNotifications defaultMessageNotifications,
- required GuildVerificationLevel verificationLevel,
- required List<
GuildFeatureSchema> features, - required SystemChannelFlags systemChannelFlags,
- required GuildExplicitContentFilter explicitContentFilter,
- required bool nsfw,
- SnowflakeType? systemChannelId,
- Int32Type? embedSplashHeight,
- SnowflakeType? rulesChannelId,
- SnowflakeType? afkChannelId,
- String? vanityUrlCode,
- Int32Type? embedSplashWidth,
- String? embedSplash,
- Int32Type? splashHeight,
- Int32Type? splashWidth,
- Int32Type? bannerHeight,
- Int32Type? approximatePresenceCount,
- String? contentWarningText,
- Int32Type? bannerWidth,
- String? banner,
- String? icon,
- DateTime? messageHistoryCutoff,
- String? permissions,
- List<
GuildRoleResponse> ? roles, - List<
GuildEmojiResponse> ? emojis, - List<
GuildStickerResponse> ? stickers, - List<
ChannelResponse> ? channels, - Int32Type? memberCount,
- Int32Type? onlineCount,
- Int32Type? approximateMemberCount,
- String? splash,
Implementation
const GuildResponse({
required this.contentWarningLevel,
required this.name,
required this.afkTimeout,
required this.splashCardAlignment,
required this.id,
required this.ownerId,
required this.disabledOperations,
required this.nsfwLevel,
required this.mfaLevel,
required this.defaultMessageNotifications,
required this.verificationLevel,
required this.features,
required this.systemChannelFlags,
required this.explicitContentFilter,
required this.nsfw,
this.systemChannelId,
this.embedSplashHeight,
this.rulesChannelId,
this.afkChannelId,
this.vanityUrlCode,
this.embedSplashWidth,
this.embedSplash,
this.splashHeight,
this.splashWidth,
this.bannerHeight,
this.approximatePresenceCount,
this.contentWarningText,
this.bannerWidth,
this.banner,
this.icon,
this.messageHistoryCutoff,
this.permissions,
this.roles,
this.emojis,
this.stickers,
this.channels,
this.memberCount,
this.onlineCount,
this.approximateMemberCount,
this.splash,
});