mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
feat: Add message_format
to message event
This commit is contained in:
@@ -45,6 +45,7 @@ export class OB11Constructor {
|
||||
font: 14,
|
||||
sub_type: "friend",
|
||||
message: [],
|
||||
message_format: 'array',
|
||||
post_type: selfInfo.uin == msg.senderUin ? EventType.MESSAGE_SENT : EventType.MESSAGE,
|
||||
}
|
||||
if (msg.chatType == ChatType.group) {
|
||||
|
@@ -65,7 +65,8 @@ export interface OB11Message {
|
||||
message_type: "private" | "group",
|
||||
sub_type?: "friend" | "group" | "normal",
|
||||
sender: OB11Sender,
|
||||
message: OB11MessageData[],
|
||||
message: OB11MessageData[] | string,
|
||||
message_format: 'array' | 'string',
|
||||
raw_message: string,
|
||||
font: number,
|
||||
post_type?: EventType,
|
||||
|
Reference in New Issue
Block a user