philia
    Preparing search index...

    图片

    interface ImageElem {
        asface?: boolean;
        cache?: boolean;
        fid?: string;
        file: string | Buffer<ArrayBufferLike>;
        file_id?: string;
        headers?: OutgoingHttpHeaders;
        height?: number;
        md5?: string;
        origin?: boolean;
        size?: number;
        summary?: string;
        timeout?: number;
        type: "image";
        url?: string;
        width?: number;
    }
    Index

    Properties

    asface?: boolean

    是否作为表情发送

    cache?: boolean

    网络图片是否使用缓存

    fid?: string

    从服务端拿到fid,发送时有效

    file: string | Buffer<ArrayBufferLike>
    file_id?: string

    图片file_id,接收时有效(QQNT)

    headers?: OutgoingHttpHeaders
    height?: number

    图片高度,接收时有效

    md5?: string

    图片md5,接收时有效

    origin?: boolean

    是否显示下载原图按钮

    size?: number

    图片大小,接收时有效

    summary?: string

    图片概要

    timeout?: number

    流的超时时间,默认60(秒)

    type: "image"
    url?: string

    图片url地址,接收时有效

    width?: number

    图片宽度,接收时有效