GuildCreateRequest

data class GuildCreateRequest(val name: String, val region: Optional<String> = Optional.Missing(), val icon: Optional<String> = Optional.Missing(), val verificationLevel: Optional<VerificationLevel> = Optional.Missing(), val defaultNotificationLevel: Optional<DefaultMessageNotificationLevel> = Optional.Missing(), val explicitContentFilter: Optional<ExplicitContentFilter> = Optional.Missing(), val roles: Optional<List<GuildRoleCreateRequest>> = Optional.Missing(), val channels: Optional<List<GuildChannelCreateRequest>> = Optional.Missing(), val afkChannelId: OptionalSnowflake = OptionalSnowflake.Missing, val afkTimeout: Optional<DurationInSeconds> = Optional.Missing(), val systemChannelId: OptionalSnowflake = OptionalSnowflake.Missing)(source)

Constructors

Link copied to clipboard
constructor(name: String, region: Optional<String> = Optional.Missing(), icon: Optional<String> = Optional.Missing(), verificationLevel: Optional<VerificationLevel> = Optional.Missing(), defaultNotificationLevel: Optional<DefaultMessageNotificationLevel> = Optional.Missing(), explicitContentFilter: Optional<ExplicitContentFilter> = Optional.Missing(), roles: Optional<List<GuildRoleCreateRequest>> = Optional.Missing(), channels: Optional<List<GuildChannelCreateRequest>> = Optional.Missing(), afkChannelId: OptionalSnowflake = OptionalSnowflake.Missing, afkTimeout: Optional<DurationInSeconds> = Optional.Missing(), systemChannelId: 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 = "default_message_notifications")
val defaultNotificationLevel: Optional<DefaultMessageNotificationLevel>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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>