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