mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
refactor: OB11Message add filed message_seq
This commit is contained in:
parent
466b89064a
commit
1fa740de2d
@ -54,6 +54,7 @@ export class OB11Constructor {
|
||||
user_id: parseInt(msg.senderUin!),
|
||||
time: parseInt(msg.msgTime) || Date.now(),
|
||||
message_id: msg.id!,
|
||||
message_seq: msg.id!,
|
||||
real_id: msg.id!,
|
||||
message_type: msg.chatType == ChatType.group ? 'group' : 'private',
|
||||
sender: {
|
||||
|
@ -77,6 +77,7 @@ export interface OB11Message {
|
||||
self_id?: number,
|
||||
time: number,
|
||||
message_id: number,
|
||||
message_seq: number, // 和message_id一样
|
||||
real_id: number,
|
||||
user_id: number,
|
||||
group_id?: number,
|
||||
|
Loading…
Reference in New Issue
Block a user