Body

data class Body(val name: String? = null, val position: Int? = null, val parentId: String? = null, val privateType: PrivateType? = null, val speakPermission: SpeakPermission? = null)(source)

用于 ModifyChannelApi 的请求体。

需要修改哪个字段,就传递哪个字段即可。

Constructors

Link copied to clipboard
constructor(name: String? = null, position: Int? = null, parentId: String? = null, privateType: PrivateType? = null, speakPermission: SpeakPermission? = null)

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String? = null

子频道名

Link copied to clipboard
@SerialName(value = "parent_id")
val parentId: String? = null

分组 id

Link copied to clipboard
val position: Int? = null

排序

Link copied to clipboard
@SerialName(value = "private_type")
val privateType: PrivateType? = null

子频道私密类型 PrivateType

Link copied to clipboard
@SerialName(value = "speak_permission")
val speakPermission: SpeakPermission? = null

子频道发言权限 SpeakPermission