shirosaki-napcatsdk
Version:
全新的,省心的,NapCatQQ SDK
16 lines (15 loc) • 394 B
TypeScript
import type { anyobject } from "@ceale/util";
import { MessageSegment } from "../MessageSegment";
export declare class Text extends MessageSegment {
text: string;
constructor(text: string);
toJSON(): {
type: string;
data: {
text: string;
};
};
static fromJSON(obj: anyobject): Text;
clone(): Text;
equals(other: Text): boolean;
}