diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.common
/
GuildVoiceChannel
Guild
Voice
Channel
@
Serializable
@
SerialName
(
value
=
"2"
)
data
class
GuildVoiceChannel
(
val
id
:
String
,
val
guildId
:
String
?
=
null
,
val
position
:
Int
,
val
permissionOverwrites
:
List
<
Overwrite
>
=
emptyList()
,
val
name
:
String
,
val
bitrate
:
Int
,
val
userLimit
:
Int
,
val
parentId
:
String
?
=
null
,
val
nsfw
:
Boolean
?
=
null
,
val
rtcRegion
:
String
?
=
null
)
:
Channel
,
GuildChannel
(
source
)
Members
Constructors
Guild
Voice
Channel
Link copied to clipboard
constructor
(
id
:
String
,
guildId
:
String
?
=
null
,
position
:
Int
,
permissionOverwrites
:
List
<
Overwrite
>
=
emptyList()
,
name
:
String
,
bitrate
:
Int
,
userLimit
:
Int
,
parentId
:
String
?
=
null
,
nsfw
:
Boolean
?
=
null
,
rtcRegion
:
String
?
=
null
)
Properties
bitrate
Link copied to clipboard
@
SerialName
(
value
=
"bitrate"
)
val
bitrate
:
Int
guild
Id
Link copied to clipboard
@
SerialName
(
value
=
"guild_id"
)
open
override
val
guildId
:
String
?
=
null
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
open
override
val
id
:
String
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
open
override
val
name
:
String
nsfw
Link copied to clipboard
@
SerialName
(
value
=
"nsfw"
)
open
override
val
nsfw
:
Boolean
?
=
null
parent
Id
Link copied to clipboard
@
SerialName
(
value
=
"parent_id"
)
val
parentId
:
String
?
=
null
permission
Overwrites
Link copied to clipboard
@
SerialName
(
value
=
"permission_overwrites"
)
open
override
val
permissionOverwrites
:
List
<
Overwrite
>
position
Link copied to clipboard
@
SerialName
(
value
=
"position"
)
open
override
val
position
:
Int
rtc
Region
Link copied to clipboard
@
SerialName
(
value
=
"rtc_region"
)
val
rtcRegion
:
String
?
=
null
user
Limit
Link copied to clipboard
@
SerialName
(
value
=
"user_limit"
)
val
userLimit
:
Int