GuildModifyRequest

data class GuildModifyRequest(val name: Optional<String> = Optional.Missing(), val region: Optional<String?> = Optional.Missing(), val verificationLevel: Optional<VerificationLevel?> = Optional.Missing(), val defaultMessageNotificationLevel: Optional<DefaultMessageNotificationLevel?> = Optional.Missing(), val contentFilter: Optional<ExplicitContentFilter?> = Optional.Missing(), val afkChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val afkTimeout: Optional<DurationInSeconds> = Optional.Missing(), val icon: Optional<String?> = Optional.Missing(), val ownerId: OptionalSnowflake = OptionalSnowflake.Missing, val splash: Optional<String?> = Optional.Missing(), val banner: Optional<String?> = Optional.Missing(), val systemChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val rulesChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val publicUpdatesChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val preferredLocale: Optional<String?> = Optional.Missing(), val features: Optional<Set<GuildFeature>> = Optional.Missing(), val safetyAlertsChannelId: OptionalSnowflake? = OptionalSnowflake.Missing)(source)

Constructors

Link copied to clipboard
constructor(name: Optional<String> = Optional.Missing(), region: Optional<String?> = Optional.Missing(), verificationLevel: Optional<VerificationLevel?> = Optional.Missing(), defaultMessageNotificationLevel: Optional<DefaultMessageNotificationLevel?> = Optional.Missing(), contentFilter: Optional<ExplicitContentFilter?> = Optional.Missing(), afkChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, afkTimeout: Optional<DurationInSeconds> = Optional.Missing(), icon: Optional<String?> = Optional.Missing(), ownerId: OptionalSnowflake = OptionalSnowflake.Missing, splash: Optional<String?> = Optional.Missing(), banner: Optional<String?> = Optional.Missing(), systemChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, rulesChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, publicUpdatesChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, preferredLocale: Optional<String?> = Optional.Missing(), features: Optional<Set<GuildFeature>> = Optional.Missing(), safetyAlertsChannelId: OptionalSnowflake? = OptionalSnowflake.Missing)

Properties

Link copied to clipboard
@SerialName(value = "afk_channel_id")
val afkChannelId: OptionalSnowflake?
Link copied to clipboard
@SerialName(value = "afk_timeout")
val afkTimeout: Optional<DurationInSeconds>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "explicit_content_filter")
val contentFilter: Optional<ExplicitContentFilter?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "owner_id")
val ownerId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "preferred_locale")
val preferredLocale: Optional<String?>
Link copied to clipboard
@SerialName(value = "public_updates_channel_id")
val publicUpdatesChannelId: OptionalSnowflake?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "rules_channel_id")
val rulesChannelId: OptionalSnowflake?
Link copied to clipboard
@SerialName(value = "safety_alerts_channel_id")
val safetyAlertsChannelId: OptionalSnowflake?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "system_channel_id")
val systemChannelId: OptionalSnowflake?
Link copied to clipboard
@SerialName(value = "verification_level")
val verificationLevel: Optional<VerificationLevel?>