| Modifier and Type | Interface and Description |
|---|---|
interface |
MessageEvent<T extends Contact,S extends Contact>
消息事件接口
|
interface |
MessageEvent<T extends Contact,S extends Contact>
消息事件接口
|
| Modifier and Type | Method and Description |
|---|---|
Contact |
MessageV2Event.getSender()
发送者
|
Contact |
MessageV2Event.getSubject()
发送环境
|
| 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 |
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 |
Friend |
class |
Group |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseMessageEvent<T extends Contact> |
| Modifier and Type | Method and Description |
|---|---|
abstract Contact |
BaseMessageEvent.getSender() |
Copyright © 2025. All rights reserved.