- Preparing search index...
- The search index is not available
movo
segment
: { at
(qq
: string | number, text
?: string, dummy
?: boolean): AtElem; bface
(file
: string, text
: string): BfaceElem; dice
(id
?: number): MfaceElem; face
(id
: number): FaceElem; flash
(file
: string | Buffer | Readable, brief
?: string, cache
?: boolean, timeout
?: number, headers
?: OutgoingHttpHeaders): FlashElem; fromCqcode
(str
: string): MessageElem[]; image
(file
: string | Buffer | Readable, brief
?: string, cache
?: boolean, timeout
?: number, headers
?: OutgoingHttpHeaders): ImageElem; json
(data
: any): JsonElem; location
(lat
: number, lng
: number, address
: string, id
?: string): LocationElem; lottie
(id
: number, text
?: string): { id
: number; text
: undefined | string; type
: string; }; mirai
(data
: string): MiraiElem; parseCqcode
(str
: string): MessageElem[]; poke
(id
: number): PokeElem; record
(file
: string | Buffer, origin
?: boolean, brief
?: string): PttElem; rps
(id
?: number): MfaceElem; sface
(id
: number, text
?: string): FaceElem; share
(url
: string, title
: string, image
?: string, content
?: string): ShareElem; text
(text
: string): TextElem; toCqcode
(elms
: MessageElem[]): string; video
(file
: string, brief
?: string): VideoElem; xml
(data
: string, id
?: number): XmlElem; } = ...
Type declaration
-
at:function
- at(qq: string | number, text?: string, dummy?: boolean): AtElem
-
Parameters
-
qq: string | number
-
Optional
text: string
-
Optional
dummy: boolean
-
bface:function
- bface(file: string, text: string): BfaceElem
-
Parameters
-
file: string
-
text: string
-
dice:function
- dice(id?: number): MfaceElem
-
-
face:function
- face(id: number): FaceElem
-
-
flash:function
- flash(file: string | Buffer | Readable, brief?: string, cache?: boolean, timeout?: number, headers?: OutgoingHttpHeaders): FlashElem
-
Parameters
-
file: string | Buffer | Readable
-
Optional
brief: string
-
Optional
cache: boolean
-
Optional
timeout: number
-
Optional
headers: OutgoingHttpHeaders
-
fromCqcode:function
- fromCqcode(str: string): MessageElem[]
-
-
image:function
- image(file: string | Buffer | Readable, brief?: string, cache?: boolean, timeout?: number, headers?: OutgoingHttpHeaders): ImageElem
-
Parameters
-
file: string | Buffer | Readable
-
Optional
brief: string
-
Optional
cache: boolean
-
Optional
timeout: number
-
Optional
headers: OutgoingHttpHeaders
-
json:function
- json(data: any): JsonElem
-
-
location:function
- location(lat: number, lng: number, address: string, id?: string): LocationElem
-
Parameters
-
lat: number
-
lng: number
-
address: string
-
Optional
id: string
-
lottie:function
- lottie(id: number, text?: string): {
id: number;
text: undefined | string;
type: string;
}
-
Parameters
-
id: number
-
Optional
text: string
Returns {
id: number;
text: undefined | string;
type: string;
}
-
id: number
-
text: undefined | string
-
type: string
-
mirai:function
- mirai(data: string): MiraiElem
-
-
parseCqcode:function
- parseCqcode(str: string): MessageElem[]
-
-
poke:function
- poke(id: number): PokeElem
-
-
record:function
- record(file: string | Buffer, origin?: boolean, brief?: string): PttElem
-
Parameters
-
file: string | Buffer
-
origin: boolean = false
-
Optional
brief: string
-
rps:function
- rps(id?: number): MfaceElem
-
-
sface:function
- sface(id: number, text?: string): FaceElem
-
Parameters
-
id: number
-
Optional
text: string
-
share:function
- share(url: string, title: string, image?: string, content?: string): ShareElem
-
Parameters
-
url: string
-
title: string
-
Optional
image: string
-
Optional
content: string
-
text:function
- text(text: string): TextElem
-
-
toCqcode:function
- toCqcode(elms: MessageElem[]): string
-
Returns string
-
video:function
- video(file: string, brief?: string): VideoElem
-
Parameters
-
file: string
-
Optional
brief: string
-
xml:function
- xml(data: string, id?: number): XmlElem
-
Parameters
-
data: string
-
Optional
id: number
用于构造消息元素