mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
feat: report forward msg,get_forward_msg
This commit is contained in:
@@ -16,6 +16,17 @@ export interface Peer {
|
||||
}
|
||||
|
||||
export class NTQQMsgApi {
|
||||
static async getMultiMsg(peer: Peer, rootMsgId: string, parentMsgId: string) {
|
||||
return await callNTQQApi<GeneralCallResult & {msgList: RawMessage[]}>({
|
||||
methodName: NTQQApiMethod.GET_MULTI_MSG,
|
||||
args: [{
|
||||
peer,
|
||||
rootMsgId,
|
||||
parentMsgId
|
||||
}, null]
|
||||
})
|
||||
}
|
||||
|
||||
static async activateGroupChat(groupCode: string) {
|
||||
// await this.fetchRecentContact();
|
||||
// await sleep(500);
|
||||
|
Reference in New Issue
Block a user