EventChannel
class EventChannel @EventModelConstructor constructor(val id: String, val guildId: String, val name: String, val type: ChannelType, val subType: ChannelSubType, val ownerId: String, val opUserId: String)(source)
内容
在 Channel 的部分字段基础上,增加 op_user_id 代表操作人。
Note: EventChannel 暂不实现 Channel,因为这个 "部分" 还不好界定。
Constructors
Link copied to clipboard
constructor(id: String, guildId: String, name: String, type: ChannelType, subType: ChannelSubType, ownerId: String, opUserId: String)
Properties
Link copied to clipboard
频道 id
Link copied to clipboard
操作人
Link copied to clipboard
创建人 id
Link copied to clipboard
子频道子类型 ChannelSubType
Link copied to clipboard
子频道类型 ChannelType
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copy(id: String = this.id, guildId: String = this.guildId, name: String = this.name, type: ChannelType = this.type, subType: ChannelSubType = this.subType, ownerId: String = this.ownerId, opUserId: String = this.opUserId): EventChannel