- Preparing search index...
- The search index is not available
icqq
segment: { at(qq,
text?,
dummy?) => AtElem; bface(file,
text) => BfaceElem; dice(id?) => MfaceElem; face(id) => FaceElem; fake(user_id,
message,
nickname?,
time?) => ForwardNode; flash(file,
cache?,
timeout?,
headers?) => FlashElem; fromCqcode(str) => MessageElem[]; image(file,
cache?,
timeout?,
headers?) => ImageElem; json(data) => JsonElem; location(lat,
lng,
address,
id?) => LocationElem; mirai(data) => MiraiElem; music(id,
platform?) => Promise<JsonElem>; poke(id) => PokeElem; record(file) => PttElem; rps(id?) => MfaceElem; sface(id,
text?) => FaceElem; share(url,
title,
image?,
content?) => ShareElem; text(text) => TextElem; video(file) => VideoElem; xml(data,
id?) => XmlElem; } = ...
Type declaration
-
at:function
- at(qq, text?, dummy?): AtElem
-
Parameters
-
qq: string | number
-
Optional
text: string
-
Optional
dummy: boolean
-
bface:function
- bface(file, text): BfaceElem
-
Parameters
-
file: string
-
text: string
-
dice:function
-
face:function
-
fake:function
- fake(user_id, message, nickname?, time?): ForwardNode
-
Parameters
-
user_id: number
-
-
Optional
nickname: string
-
Optional
time: number
-
flash:function
- flash(file, cache?, timeout?, headers?): FlashElem
-
Parameters
-
file: string | Buffer | Readable
-
Optional
cache: boolean
-
Optional
timeout: number
-
Optional
headers: OutgoingHttpHeaders
-
fromCqcode:function
-
image:function
- image(file, cache?, timeout?, headers?): ImageElem
-
Parameters
-
file: string | Buffer | Readable
-
Optional
cache: boolean
-
Optional
timeout: number
-
Optional
headers: OutgoingHttpHeaders
-
json:function
-
location:function
- location(lat, lng, address, id?): LocationElem
-
Parameters
-
lat: number
-
lng: number
-
address: string
-
Optional
id: string
-
mirai:function
-
music:function
-
poke:function
-
record:function
-
rps:function
-
sface:function
- sface(id, text?): FaceElem
-
Parameters
-
id: number
-
Optional
text: string
-
share:function
- share(url, title, image?, content?): ShareElem
-
Parameters
-
url: string
-
title: string
-
Optional
image: string
-
Optional
content: string
-
text:function
-
video:function
-
xml:function
- xml(data, id?): XmlElem
-
Parameters
-
data: string
-
Optional
id: number
用于构造消息元素