commonMain.entity.DiscordGuildPreview.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kord-common-jvm Show documentation
Show all versions of kord-common-jvm Show documentation
Idiomatic Kotlin Wrapper for The Discord API
The newest version!
package dev.kord.common.entity
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
public data class DiscordGuildPreview(
val id: Snowflake,
val name: String,
val icon: String?,
val splash: String?,
@SerialName("discovery_splash")
val discoverySplash: String?,
val emojis: List,
val features: List,
@SerialName("approximate_member_count")
val approximateMemberCount: Int,
@SerialName("approximate_presence_count")
val approximatePresenceCount: Int,
val description: String?,
val stickers: List,
)