| Package | Description |
|---|---|
| io.github.kloping.qqbot.api.message | |
| io.github.kloping.qqbot.entities.qqpd.message | |
| io.github.kloping.qqbot.impl.message |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MessageChannelReceiveEvent
消息接收事件
|
interface |
MessageContainsAtEvent
消息存在AT事件
|
| 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 |
BaseMessageChannelReceiveEvent |
class |
BaseMessageContainsAtEvent |
Copyright © 2023. All rights reserved.