toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-rest
/
dev.kord.rest.json.request
/
ChannelModifyPutRequest
Channel
Modify
Put
Request
@
Serializable
data
class
ChannelModifyPutRequest
(
val
name
:
String
,
val
position
:
Int
,
val
topic
:
String
?
=
null
,
val
nsfw
:
Boolean
?
=
null
,
val
rateLimitPerUser
:
Int
?
=
null
,
val
bitrate
:
Int
?
=
null
,
val
userLimit
:
Int
?
=
null
,
val
permissionOverwrites
:
List
<
Overwrite
>
,
val
parentId
:
String
?
=
null
)
(
source
)
Members
Constructors
Channel
Modify
Put
Request
Link copied to clipboard
constructor
(
name
:
String
,
position
:
Int
,
topic
:
String
?
=
null
,
nsfw
:
Boolean
?
=
null
,
rateLimitPerUser
:
Int
?
=
null
,
bitrate
:
Int
?
=
null
,
userLimit
:
Int
?
=
null
,
permissionOverwrites
:
List
<
Overwrite
>
,
parentId
:
String
?
=
null
)
Properties
bitrate
Link copied to clipboard
val
bitrate
:
Int
?
=
null
name
Link copied to clipboard
val
name
:
String
nsfw
Link copied to clipboard
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"
)
val
permissionOverwrites
:
List
<
Overwrite
>
position
Link copied to clipboard
val
position
:
Int
rate
Limit
Per
User
Link copied to clipboard
@
SerialName
(
value
=
"rate_limit_per_user"
)
val
rateLimitPerUser
:
Int
?
=
null
topic
Link copied to clipboard
val
topic
:
String
?
=
null
user
Limit
Link copied to clipboard
@
SerialName
(
value
=
"user_limit"
)
val
userLimit
:
Int
?
=
null