| Modifier and Type | Interface and Description |
|---|---|
interface |
SenderAndCidMidGetter |
interface |
SenderV2 |
| Modifier and Type | Class and Description |
|---|---|
class |
Channel
# Channel |
class |
Dms
字段名 类型 描述 guild_id string 私信会话关联的频道 id channel_id string 私信会话关联的子频道 id create_time string 创建私信会话时间戳
|
class |
Guild
# Guild |
class |
Member
字段名 类型 描述 user User 用户的频道基础信息,只有成员相关接口中会填充此信息 nick string 用户的昵称 roles string 数组 用户在频道内的身份组ID, 默认值可参考DefaultRoles joined_at ISO8601 timestamp 用户加入频道的时间
|
class |
MemberWithGuildID
字段名 类型 描述
guild_id string 频道id user
User 用户的频道基础信息 nick string 用户的昵称 roles string 数组 用户在频道内的身份 joined_at ISO8601 timestamp 用户加入频道的时间 |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectMessage
字段名 类型 描述 id string 消息 id channel_id string 子频道 id guild_id string 频道 id content string 消息内容 timestamp ISO8601 timestamp 消息创建时间 edited_timestamp ISO8601 timestamp 消息编辑时间 mention_everyone bool 是否是@全员消息 author User 对象 消息创建者 attachments MessageAttachment 对象数组 附件 embeds MessageEmbed 对象数组 embed mentions User 对象数组 消息中@的人 member Member 对象 消息创建者的member信息 ark MessageArk ark消息对象 ark消息 seq int 用于消息间的排序,seq 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序。(目前只在消息事件中有值,
2022年8月1日 后续废弃) seq_in_channel string 子频道消息 seq,用于消息间的排序,seq 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序 message_reference MessageReference 对象 引用消息对象 src_guild_id string 用于私信场景下识别真实的来源频道id |
class |
RawMessage
字段名 类型 描述 id string 消息 id channel_id string 子频道 id guild_id string 频道 id content string 消息内容 timestamp ISO8601 timestamp 消息创建时间 edited_timestamp ISO8601 timestamp 消息编辑时间 mention_everyone bool 是否是@全员消息 author User 对象 消息创建者 attachments MessageAttachment 对象数组 附件 embeds MessageEmbed 对象数组 embed mentions User 对象数组 消息中@的人 member Member 对象 消息创建者的member信息 ark MessageArk ark消息对象 ark消息 seq int 用于消息间的排序,seq 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序。(目前只在消息事件中有值,
2022年8月1日 后续废弃) seq_in_channel string 子频道消息 seq,用于消息间的排序,seq 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序 message_reference MessageReference 对象 引用消息对象 src_guild_id string 用于私信场景下识别真实的来源频道id |
| Modifier and Type | Class and Description |
|---|---|
class |
Contact
群聊/单聊 父
|
class |
Group |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseGroupMessageEvent |
Copyright © 2023. All rights reserved.