UpdatedChannelExtraBody

频道信息更新

updated_channel

Author

ForteScarlet

Functions

Link copied to clipboard
open operator override fun compareTo(other: UpdatedChannelExtraBody): Int

Properties

Link copied to clipboard
abstract val guildId: ID

服务器id

Link copied to clipboard
abstract val id: ID

服务器频道ID

Link copied to clipboard
abstract val isCategory: Boolean

是否为分组类型

Link copied to clipboard
abstract val level: Int

频道排序

Link copied to clipboard
abstract val limitAmount: Int

人数限制(如果为语音频道)

Link copied to clipboard
abstract val masterId: ID

频道创建者id. 事件体中通常为 user_id 字段。

Link copied to clipboard
abstract val name: String

频道名称

Link copied to clipboard
abstract val parentId: ID

父分组频道id

Link copied to clipboard
abstract val serverUrl: String

语音服务器地址,HOST:PORT的格式

Link copied to clipboard
abstract val slowMode: Int

慢速限制,单位秒。用户发送消息之后再次发送消息的等待时间。

Link copied to clipboard
abstract val topic: String

频道简介

Link copied to clipboard
abstract val type: Int

频道类型,1为文字频道,2为语音频道