segment: {
    At(qq: number | "all", text?: string, dummy?: boolean): TSegmentAt;
    Dice(): TSegmentDice;
    Face(id: number): TSegmentFace;
    Flash(file: string, cache?: boolean, proxy?: boolean, timeout?: number): TSegmentImage;
    FromCqcode(strData: string): TSegment[];
    Image(file: string, cache?: boolean, proxy?: boolean, timeout?: number): TSegmentImage;
    Json(data: any): TSegmentJSON;
    Location(lat: number, lng: number, address: string, id?: string): TSegmentLocation;
    Poke(id: number, type: number): TSegmentPoke;
    Record(file: string | Buffer): TSegmentRecord;
    Rps(): TSegmentRPS;
    Share(url: string, title: string, image?: string, content?: string): TSegmentShare;
    Text(text: string): TSegmentText;
    Video(file: string): TSegmentVideo;
    Xml(data: string, id?: number): TSegmentXML;
} = ...

Type declaration