SimpleChannel
data class SimpleChannel(val id: String, val guildId: String, val name: String, val type: ChannelType, val subType: ChannelSubType, val position: Int, val parentId: String, val ownerId: String, val privateType: PrivateType? = null, val speakPermission: SpeakPermission? = null, val applicationId: String? = null, val permissions: Permissions? = null) : Channel(source)
Channel 的基础实现。
See also
Constructors
Link copied to clipboard
constructor(id: String, guildId: String, name: String, type: ChannelType, subType: ChannelSubType, position: Int, parentId: String, ownerId: String, privateType: PrivateType? = null, speakPermission: SpeakPermission? = null, applicationId: String? = null, permissions: Permissions? = null)
Properties
Link copied to clipboard
用于标识应用子频道应用类型,仅应用子频道时会使用该字段,具体定义请参考 应用子频道的应用类型
Link copied to clipboard
频道 id
Link copied to clipboard
创建人 id
Link copied to clipboard
所属分组 id,仅对子频道有效,对 子频道分组(ChannelType=4) 无效
Link copied to clipboard
用户拥有的子频道权限 Permissions
Link copied to clipboard
排序值,具体请参考 有关 position 的说明
Link copied to clipboard
子频道私密类型 PrivateType
Link copied to clipboard
子频道发言权限 SpeakPermission
Link copied to clipboard
子频道子类型 ChannelSubType
Link copied to clipboard
子频道类型 ChannelType