diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.guild
/
GuildPreview
Guild
Preview
@
Serializable
data
class
GuildPreview
(
val
id
:
String
,
val
name
:
String
,
val
iconHash
:
String
?
,
val
splashHash
:
String
?
,
val
discoverySplashHash
:
String
?
,
val
emojis
:
List
<
Emoji
>
,
val
features
:
List
<
GuildFeatures
>
,
val
description
:
String
?
,
val
approximateMemberCount
:
Int
?
=
null
,
val
approximatePresenceCount
:
Int
?
=
null
)
(
source
)
Members
Constructors
Guild
Preview
Link copied to clipboard
constructor
(
id
:
String
,
name
:
String
,
iconHash
:
String
?
,
splashHash
:
String
?
,
discoverySplashHash
:
String
?
,
emojis
:
List
<
Emoji
>
,
features
:
List
<
GuildFeatures
>
,
description
:
String
?
,
approximateMemberCount
:
Int
?
=
null
,
approximatePresenceCount
:
Int
?
=
null
)
Properties
approximate
Member
Count
Link copied to clipboard
@
SerialName
(
value
=
"approximate_member_count"
)
val
approximateMemberCount
:
Int
?
=
null
approximate
Presence
Count
Link copied to clipboard
@
SerialName
(
value
=
"approximate_presence_count"
)
val
approximatePresenceCount
:
Int
?
=
null
description
Link copied to clipboard
@
SerialName
(
value
=
"description"
)
val
description
:
String
?
discovery
Splash
Hash
Link copied to clipboard
@
SerialName
(
value
=
"discovery_splash"
)
val
discoverySplashHash
:
String
?
emojis
Link copied to clipboard
@
SerialName
(
value
=
"emojis"
)
val
emojis
:
List
<
Emoji
>
features
Link copied to clipboard
@
SerialName
(
value
=
"features"
)
val
features
:
List
<
GuildFeatures
>
icon
Hash
Link copied to clipboard
@
SerialName
(
value
=
"icon"
)
val
iconHash
:
String
?
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
val
id
:
String
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
val
name
:
String
splash
Hash
Link copied to clipboard
@
SerialName
(
value
=
"splash"
)
val
splashHash
:
String
?