35 lines
690 B
TypeScript
35 lines
690 B
TypeScript
export type TUndoContent = {
|
|
globalMsgId: number;
|
|
cliMsgId: number;
|
|
deleteMsg: number;
|
|
srcId: number;
|
|
destId: number;
|
|
};
|
|
export type TUndo = {
|
|
actionId: string;
|
|
msgId: string;
|
|
cliMsgId: string;
|
|
msgType: string;
|
|
uidFrom: string;
|
|
idTo: string;
|
|
dName: string;
|
|
ts: string;
|
|
status: number;
|
|
content: TUndoContent;
|
|
notify: string;
|
|
ttl: number;
|
|
userId: string;
|
|
uin: string;
|
|
cmd: number;
|
|
st: number;
|
|
at: number;
|
|
realMsgId: string;
|
|
};
|
|
export declare class Undo {
|
|
data: TUndo;
|
|
threadId: string;
|
|
isSelf: boolean;
|
|
isGroup: boolean;
|
|
constructor(uid: string, data: TUndo, isGroup: boolean);
|
|
}
|