feat: new

This commit is contained in:
手瓜一十雪 2024-09-26 15:54:24 +08:00
parent 7d709f44a8
commit 1c212ff2b4
3 changed files with 19 additions and 3 deletions

View File

@ -659,7 +659,8 @@ export interface GrayTipElement {
export enum FaceType {
normal = 1, // 小黄脸
normal2 = 2, // 新小黄脸, 从faceIndex 222开始
dice = 3 // 骰子
dice = 3, // 骰子
poke = 5 // 拍一拍
}
export enum FaceIndex {

View File

@ -240,7 +240,12 @@ export interface NodeIKernelGroupService {
getGroupRecommendContactArkJson(groupCode: string): unknown;
getJoinGroupLink(groupCode: string): unknown;
getJoinGroupLink(param: {
groupCode: string,
srcId: number,//73
needShortUrl: boolean,//true
additionalParam: string//''
}): Promise<GeneralCallResult & { url?: string }>;
modifyGroupExtInfo(groupCode: string, arg: unknown): void;

View File

@ -457,7 +457,17 @@ export class OneBotMsgApi {
},
};
},
// {
// elementId: '0',
// elementType: 6,
// faceElement: {
// faceIndex: 0,
// faceType: 5,
// msgType: 0,
// pokeType: 1,
// pokeStrength: 0
// }
// }
[OB11MessageDataType.mface]: async ({
data: {
emoji_package_id, emoji_id, key, summary,