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 { export class SendMsgElementConstructor {
static location(): sendShareLocationElement { static location(): sendShareLocationElement {
return { return {
elementType: ElementType.ARK, elementType: ElementType.SHARELOCATION,
elementId: '', elementId: '',
shareLocationElement: { shareLocationElement: {
text: "测试", text: "测试",

View File

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

View File

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