fix: typo

This commit is contained in:
手瓜一十雪 2024-07-12 17:04:28 +08:00
parent b43b4ee5c0
commit 0aa225ca78
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ export const mFaceCache = new Map<string, string>(); // emojiId -> faceName
export class SendMsgElementConstructor {
static location(): sendShareLocationElement {
return {
elementType: ElementType.ARK,
elementType: ElementType.SHARELOCATION,
elementId: '',
shareLocationElement: {
text: "测试",

View File

@ -122,7 +122,7 @@ export interface SendMarketFaceElement {
}
export interface sendShareLocationElement {
elementType: ElementType.ARK;
elementType: ElementType.SHARELOCATION;
elementId: string;
shareLocationElement: {
text: string;

View File

@ -60,7 +60,7 @@ export enum OB11MessageDataType {
dice = 'dice',
RPS = 'rps',
miniapp = 'miniapp',//json类
Location = "Location"
Location = "location"
}
export interface OB11MessageMFace {