| Modifier and Type | Interface and Description |
|---|---|
interface |
DirectSender
私信发送者(消息)接口
|
interface |
SenderAndCidMidGetter |
interface |
SenderV2 |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InterActionEvent |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MessageChannelReceiveEvent
消息接收事件
|
interface |
MessageContainsAtEvent
消息存在AT事件
|
interface |
MessageDeleteEvent |
interface |
MessageDirectReceiveEvent
私信消息接收事件
|
interface |
MessageEvent<T extends Contact,S extends Contact>
消息事件接口
|
interface |
MessageReactionEvent
消息表情表态事件接口
|
interface |
MessageReceiveEvent
消息接收事件
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FriendMessageEvent |
interface |
GroupMessageEvent |
interface |
MessageV2Event |
| Modifier and Type | Class and Description |
|---|---|
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 |
InterAction
属性 类型 说明 id string 平台方事件 ID,可以用于被动消息发送 type int 消息按钮: 11,单聊快捷菜单:12 scene string 事件发生的场景:c2c、group、guild chat_type int 0 频道场景,1 群聊场景,2 单聊场景 timestamp string 触发时间 RFC 3339 格式 guild_id string 频道的 openid ,仅在频道场景提供该字段 channel_id string 文字子频道的 openid,仅在频道场景提供该字段 user_openid string 单聊单聊按钮触发x,的用户 openid,仅在单聊场景提供该字段 group_openid string 群的 openid,仅在群聊场景提供该字段 group_member_openid string 按钮触发用户,群聊的群成员 openid,仅在群聊场景提供该字段 data.resoloved.button_data string 操作按钮的 data 字段值(在发送消息按钮时设置) data.resoloved.button_id string 操作按钮的 id 字段值(在发送消息按钮时设置) data.resoloved.user_id string 操作的用户 userid,仅频道场景提供该字段 data.resoloved.feature_id string 操作按钮的 id 字段值,仅自定义菜单提供该字段(在管理端设置) data.resoloved.message_id string 操作的消息id,目前仅频道场景提供该字段 version int 默认 1 application_id string 机器人的 appid
|
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 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序。
|
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 在同一子频道中按从先到后的顺序递增,不同的子频道之间消息无法排序。
|
| Modifier and Type | Class and Description |
|---|---|
class |
Contact
群聊/单聊 父
|
class |
Friend |
class |
Group |
class |
Member |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseInterActionEvent |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseMessageChannelReceiveEvent |
class |
BaseMessageContainsAtEvent |
class |
BaseMessageDeleteEvent |
class |
BaseMessageDirectReceiveEvent |
class |
BaseMessageReactionEvent |
class |
BaseMessageReceiveEvent |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFriendMessageEvent |
class |
BaseGroupMessageEvent |
class |
BaseMessageEvent<T extends Contact> |
Copyright © 2024. All rights reserved.