chore: sync core

This commit is contained in:
手瓜一十雪 committed 2024-05-24 23:25:14 +08:00
1 parent 7640deb798
commit 1a92794d33
45 files changed
+68 -42

No files matched your search

+10 -1
View File
@@ -1,4 +1,4 @@
import { AtType, SendArkElement, SendFaceElement, SendFileElement, SendMarkdownElement, SendMarketFaceElement, SendPicElement, SendPttElement, SendReplyElement, SendTextElement, SendVideoElement } from './index';
import { AtType, ElementType, SendArkElement, SendFaceElement, SendFileElement, SendMarkdownElement, SendMarketFaceElement, SendPicElement, SendPttElement, SendReplyElement, SendTextElement, SendVideoElement } from './index';
export declare const mFaceCache: Map<string, string>;
export declare class SendMsgElementConstructor {
static text(content: string): SendTextElement;
@@ -14,4 +14,13 @@ export declare class SendMsgElementConstructor {
static rps(resultId: number | null): SendFaceElement;
static ark(data: any): SendArkElement;
static markdown(content: string): SendMarkdownElement;
static miniapp(): Promise<{
elementType: ElementType;
elementId: string;
arkElement: {
bytesData: string;
linkInfo: null;
subElementType: null;
};
}>;
}