11
This commit is contained in:
15
src/types.ts
15
src/types.ts
@@ -70,6 +70,21 @@ export interface GuildMessageEvent {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 群聊 AT 消息事件
|
||||
*/
|
||||
export interface GroupMessageEvent {
|
||||
author: {
|
||||
id: string;
|
||||
member_openid: string;
|
||||
};
|
||||
content: string;
|
||||
id: string;
|
||||
timestamp: string;
|
||||
group_id: string;
|
||||
group_openid: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* WebSocket 事件负载
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user