Variable segmentConst

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

Generated using TypeDoc