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
At:function
- At(qq, text?, dummy?): TSegmentAt
Parameters
- qq: number | "all"
Optional
text: stringOptional
dummy: boolean
Dice:function
Face:function
Flash:function
- Flash(file, cache?, proxy?, timeout?): TSegmentImage
Parameters
- file: string
Optional
cache: booleanOptional
proxy: booleanOptional
timeout: number
FromCqcode:function
Image:function
- Image(file, cache?, proxy?, timeout?): TSegmentImage
Parameters
- file: string
Optional
cache: booleanOptional
proxy: booleanOptional
timeout: number
Json:function
Location:function
- Location(lat, lng, address, id?): TSegmentLocation
Parameters
- lat: number
- lng: number
- address: string
Optional
id: string
Poke:function
Record:function
Rps:function
Share:function
- Share(url, title, image?, content?): TSegmentShare
Parameters
- url: string
- title: string
Optional
image: stringOptional
content: string
Text:function
Video:function
Xml:function
- Xml(data, id?): TSegmentXML
Parameters
- data: string
Optional
id: number
mention@提及