Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { Id string `json:"id"` // 频道 ID Type ChannelType `json:"type"` // 频道类型 Name string `json:"name,omitempty"` // 频道名称 ParentId string `json:"parent_id,omitempty"` // 父频道 ID }
频道
type ChannelList ¶
type ChannelList struct { Data []*Channel `json:"data"` // 数据 Next string `json:"next,omitempty"` // 下一页的令牌 }
Channel 分页列表
type ChannelType ¶
type ChannelType uint8 // 频道类型
const ( ChannelTypeText ChannelType = iota // 文本频道 ChannelTypeDirect // 私聊频道 ChannelTypeCategory // 分类频道 ChannelTypeVoice // 语音频道 )
Click to show internal directories.
Click to hide internal directories.