shirosaki-napcatsdk
Version:
全新的,省心的,NapCatQQ SDK
23 lines (22 loc) • 664 B
TypeScript
import type { anyobject } from "@ceale/util";
import { MessageSegment } from "../MessageSegment";
export declare class Mface extends MessageSegment {
emojiId: string;
emojiPackageId: string;
summary?: string | undefined;
key: string;
url?: string;
constructor(emojiId: string, emojiPackageId: string, summary?: string | undefined);
static fromJSON(json: anyobject): Mface;
toJSON(): {
type: string;
data: {
emoji_package_id: string;
emoji_id: string;
key: string;
summary: string | undefined;
};
};
clone(): Mface;
equals(other: Mface): boolean;
}