mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
chore: 类型补全
This commit is contained in:
parent
82c9c28439
commit
427889f8ca
@ -111,7 +111,29 @@ export interface TaskTopMsgElement {
|
|||||||
iconUrl: string;
|
iconUrl: string;
|
||||||
topMsgType: number;
|
topMsgType: number;
|
||||||
}
|
}
|
||||||
|
export enum NTMsgType {
|
||||||
|
KMSGTYPEARKSTRUCT = 11,
|
||||||
|
KMSGTYPEFACEBUBBLE = 24,
|
||||||
|
KMSGTYPEFILE = 3,
|
||||||
|
KMSGTYPEGIFT = 14,
|
||||||
|
KMSGTYPEGIPHY = 13,
|
||||||
|
KMSGTYPEGRAYTIPS = 5,
|
||||||
|
KMSGTYPEMIX = 2,
|
||||||
|
KMSGTYPEMULTIMSGFORWARD = 8,
|
||||||
|
KMSGTYPENULL = 1,
|
||||||
|
KMSGTYPEONLINEFILE = 21,
|
||||||
|
KMSGTYPEONLINEFOLDER = 27,
|
||||||
|
KMSGTYPEPROLOGUE = 29,
|
||||||
|
KMSGTYPEPTT = 6,
|
||||||
|
KMSGTYPEREPLY = 9,
|
||||||
|
KMSGTYPESHARELOCATION = 25,
|
||||||
|
KMSGTYPESTRUCT = 4,
|
||||||
|
KMSGTYPESTRUCTLONGMSG = 12,
|
||||||
|
KMSGTYPETEXTGIFT = 15,
|
||||||
|
KMSGTYPEUNKNOWN = 0,
|
||||||
|
KMSGTYPEVIDEO = 7,
|
||||||
|
KMSGTYPEWALLET = 10
|
||||||
|
}
|
||||||
export interface SendTaskTopMsgElement {
|
export interface SendTaskTopMsgElement {
|
||||||
elementType: ElementType.TASKTOPMSG;
|
elementType: ElementType.TASKTOPMSG;
|
||||||
elementId: string;
|
elementId: string;
|
||||||
@ -772,7 +794,41 @@ export interface MultiForwardMsgElement {
|
|||||||
resId: string;
|
resId: string;
|
||||||
fileName: string;
|
fileName: string;
|
||||||
}
|
}
|
||||||
|
export enum NTSubMsgType {
|
||||||
|
KMSGSUBTYPEARKGROUPANNOUNCE = 3,
|
||||||
|
KMSGSUBTYPEARKGROUPANNOUNCECONFIRMREQUIRED = 4,
|
||||||
|
KMSGSUBTYPEARKGROUPGIFTATME = 5,
|
||||||
|
KMSGSUBTYPEARKGROUPTASKATALL = 6,
|
||||||
|
KMSGSUBTYPEARKMULTIMSG = 7,
|
||||||
|
KMSGSUBTYPEARKNORMAL = 0,
|
||||||
|
KMSGSUBTYPEARKTENCENTDOCFROMMINIAPP = 1,
|
||||||
|
KMSGSUBTYPEARKTENCENTDOCFROMPLUSPANEL = 2,
|
||||||
|
KMSGSUBTYPEEMOTICON = 15,
|
||||||
|
KMSGSUBTYPEFILEAPP = 11,
|
||||||
|
KMSGSUBTYPEFILEAUDIO = 3,
|
||||||
|
KMSGSUBTYPEFILEDOC = 4,
|
||||||
|
KMSGSUBTYPEFILEEXCEL = 6,
|
||||||
|
KMSGSUBTYPEFILEFOLDER = 13,
|
||||||
|
KMSGSUBTYPEFILEHTML = 10,
|
||||||
|
KMSGSUBTYPEFILEIPA = 14,
|
||||||
|
KMSGSUBTYPEFILENORMAL = 0,
|
||||||
|
KMSGSUBTYPEFILEPDF = 7,
|
||||||
|
KMSGSUBTYPEFILEPIC = 1,
|
||||||
|
KMSGSUBTYPEFILEPPT = 5,
|
||||||
|
KMSGSUBTYPEFILEPSD = 12,
|
||||||
|
KMSGSUBTYPEFILETXT = 8,
|
||||||
|
KMSGSUBTYPEFILEVIDEO = 2,
|
||||||
|
KMSGSUBTYPEFILEZIP = 9,
|
||||||
|
KMSGSUBTYPELINK = 5,
|
||||||
|
KMSGSUBTYPEMARKETFACE = 1,
|
||||||
|
KMSGSUBTYPEMIXEMOTICON = 7,
|
||||||
|
KMSGSUBTYPEMIXFACE = 3,
|
||||||
|
KMSGSUBTYPEMIXMARKETFACE = 2,
|
||||||
|
KMSGSUBTYPEMIXPIC = 1,
|
||||||
|
KMSGSUBTYPEMIXREPLY = 4,
|
||||||
|
KMSGSUBTYPEMIXTEXT = 0,
|
||||||
|
KMSGSUBTYPETENCENTDOC = 6
|
||||||
|
}
|
||||||
export interface RawMessage {
|
export interface RawMessage {
|
||||||
parentMsgPeer: Peer;
|
parentMsgPeer: Peer;
|
||||||
parentMsgIdList: string[];
|
parentMsgIdList: string[];
|
||||||
@ -787,8 +843,8 @@ export interface RawMessage {
|
|||||||
msgTime: string;
|
msgTime: string;
|
||||||
|
|
||||||
msgSeq: string;
|
msgSeq: string;
|
||||||
msgType: number;
|
msgType: NTMsgType;
|
||||||
subMsgType: number;
|
subMsgType: NTSubMsgType;
|
||||||
senderUid: string;
|
senderUid: string;
|
||||||
senderUin: string; // 发送者QQ号
|
senderUin: string; // 发送者QQ号
|
||||||
peerUid: string; // 群号 或者 QQ uid
|
peerUid: string; // 群号 或者 QQ uid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user