CreateGuild

@Serializable
data class CreateGuild(val name: String, val voiceRegionId: String? = null, val base64IconData: String? = null, val verificationLevel: VerificationLevel? = null, val defaultNotificationsLevel: NotificationsLevel? = null, val explicitContentFilterLevel: ExplicitContentFilterLevel? = null, val roles: List<CreateGuildRole> = emptyList(), val channels: List<CreateChannel> = emptyList(), val afkChannelId: String? = null, val afkTimeoutSeconds: Int? = null, val systemChannelId: String? = null)(source)

Constructors

Link copied to clipboard
constructor(name: String, voiceRegionId: String? = null, base64IconData: String? = null, verificationLevel: VerificationLevel? = null, defaultNotificationsLevel: NotificationsLevel? = null, explicitContentFilterLevel: ExplicitContentFilterLevel? = null, roles: List<CreateGuildRole> = emptyList(), channels: List<CreateChannel> = emptyList(), afkChannelId: String? = null, afkTimeoutSeconds: Int? = null, systemChannelId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "afk_channel_id")
val afkChannelId: String? = null
Link copied to clipboard
@SerialName(value = "afk_timeout")
val afkTimeoutSeconds: Int? = null
Link copied to clipboard
@SerialName(value = "icon")
val base64IconData: String? = null
Link copied to clipboard
@SerialName(value = "channels")
val channels: List<CreateChannel>
Link copied to clipboard
@SerialName(value = "default_message_notifications")
val defaultNotificationsLevel: NotificationsLevel? = null
Link copied to clipboard
@SerialName(value = "explicit_content_filter")
val explicitContentFilterLevel: ExplicitContentFilterLevel? = null
Link copied to clipboard
@SerialName(value = "name")
val name: String
Link copied to clipboard
@SerialName(value = "roles")
val roles: List<CreateGuildRole>
Link copied to clipboard
@SerialName(value = "system_channel_id")
val systemChannelId: String? = null
Link copied to clipboard
@SerialName(value = "verification_level")
val verificationLevel: VerificationLevel? = null
Link copied to clipboard
@SerialName(value = "region")
val voiceRegionId: String? = null