GuildUpdateRequest class

Annotations
  • @JsonSerializable.new()

Constructors

GuildUpdateRequest({String? name, Base64ImageType? icon, SnowflakeType? systemChannelId, SystemChannelFlags? systemChannelFlags, SnowflakeType? afkChannelId, int? afkTimeout, DefaultMessageNotifications? defaultMessageNotifications, GuildVerificationLevel? verificationLevel, GuildMfaLevel? mfaLevel, NsfwLevel? nsfwLevel, bool? nsfw, ContentWarningLevel? contentWarningLevel, String? contentWarningText, GuildExplicitContentFilter? explicitContentFilter, Base64ImageType? banner, Base64ImageType? splash, Base64ImageType? embedSplash, GuildUpdateRequestSplashCardAlignmentSplashCardAlignment? splashCardAlignment, List<GuildFeatureSchema>? features, DateTime? messageHistoryCutoff, PasswordType? password, GuildUpdateRequestMfaMethodMfaMethod? mfaMethod, String? mfaCode, dynamic webauthnResponse, String? webauthnChallenge})
const
GuildUpdateRequest.fromJson(Map<String, Object?> json)
factory

Properties

afkChannelId → SnowflakeType?
The ID of the AFK voice channel
final
afkTimeout → int?
AFK timeout in seconds (60-3600) before moving users to the AFK channel
final
Base64-encoded image data for the guild banner
final
contentWarningLevel → ContentWarningLevel?
Whether the guild displays a content warning before entering
final
contentWarningText → SnowflakeType?
Custom guild-wide content warning text (max 200 characters); null falls back to a localized default
final
defaultMessageNotifications → DefaultMessageNotifications?
Default notification level for new members
final
embedSplash → SnowflakeType?
Base64-encoded image data for the embedded invite splash
final
explicitContentFilter → GuildExplicitContentFilter?
Level of content filtering for explicit media
final
features → List<GuildFeatureSchema>?
Complete desired feature set for the guild. Only user-toggleable features may differ from the current set; non-toggleable features must be preserved as-is.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → SnowflakeType?
Base64-encoded image data for the guild icon
final
messageHistoryCutoff → DateTime?
ISO8601 timestamp controlling how far back members without Read Message History can access messages. Set to null to disable historical access.
final
mfaCode → SnowflakeType?
MFA verification code from an authenticator app
final
mfaLevel → GuildMfaLevel?
Required MFA level for moderation actions
final
mfaMethod → GuildUpdateRequestMfaMethodMfaMethod?
MFA method to use for verification
final
name → SnowflakeType?
The name of the guild (1-100 characters)
final
nsfw → bool?
Whether the guild is marked as adult (18+) content
final
nsfwLevel → NsfwLevel?
Legacy: setting this translates to the modern nsfw flag and content warning level
final
password → SnowflakeType?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
splash → SnowflakeType?
Base64-encoded image data for the guild splash screen
final
splashCardAlignment → GuildUpdateRequestSplashCardAlignmentSplashCardAlignment?
Alignment of the splash card (center, left, or right)
final
systemChannelFlags → int?
final
systemChannelId → SnowflakeType?
The ID of the channel where system messages are sent
final
verificationLevel → GuildVerificationLevel?
Required verification level for members to participate
final
webauthnChallenge → SnowflakeType?
WebAuthn challenge string
final
webauthnResponse → dynamic
WebAuthn authentication response
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited