| 程序包 | 说明 |
|---|---|
| io.github.kloping.qqbot.api | |
| io.github.kloping.qqbot.entities.qqpd | |
| io.github.kloping.qqbot.entities.qqpd.message |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
SenderAndCidMidGetter |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Channel
# Channel
字段名类型描述 id string 子频道 id guild_id string 频道 id name string 子频道名 type int 子频道类型 ChannelType sub_type int 子频道子类型 ChannelSubType position int 排序值,具体请参考 有关 position 的说明 parent_id string 所属分组 id,仅对子频道有效,对 |
class |
Dms
字段名 类型 描述 guild_id string 私信会话关联的频道 id channel_id string 私信会话关联的子频道 id create_time string 创建私信会话时间戳
|
class |
Guild
# Guild 字段名 类型 描述 id string 频道ID name string 频道名称 icon string 频道头像地址 owner_id string 创建人用户ID owner bool 当前人是否是创建人 member_count int 成员数 max_members int 最大成员数 description string 描述 joined_at string 加入时间 |
class |
MemberWithGuildID
字段名 类型 描述
guild_id string 频道id user
User 用户的频道基础信息 nick string 用户的昵称 roles string 数组 用户在频道内的身份 joined_at ISO8601 timestamp 用户加入频道的时间 |
| 限定符和类型 | 类和说明 |
|---|---|
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 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序。
|
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 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序。
|
Copyright © 2023. All rights reserved.