@kaguyajs/trss-yunzai-types
    Preparing search index...

    Interface Config

    配置项

    interface Config {
        auto_server?: boolean;
        cache_group_member?: boolean;
        data_dir?: string;
        ffmpeg_path?: string;
        ffprobe_path?: string;
        ignore_self?: boolean;
        log_config?: string | Configuration;
        log_level?: LogLevel;
        platform?: icqq.Platform;
        reconn_interval?: number;
        resend?: boolean;
        sign_api_addr?: string;
        ver?: string;
    }
    Index

    Properties

    auto_server?: boolean

    自动选择最优服务器(默认true),关闭后会一直使用msfwifi.3g.qq.com:8080进行连接

    cache_group_member?: boolean

    是否缓存群员列表(默认true),群多的时候(500~1000)会多占据约100MB+内存,关闭后进程只需不到20MB内存

    data_dir?: string

    数据存储文件夹,需要可写权限,默认主模块下的data文件夹

    ffmpeg_path?: string

    ffmpeg

    ffprobe_path?: string
    ignore_self?: boolean

    群聊和频道中过滤自己的消息,默认true

    log_config?: string | Configuration

    log4js配置

    log_level?: LogLevel

    日志等级,默认info 打印日志会降低性能,若消息量巨大建议修改此参数

    platform?: icqq.Platform

    登录设备,默认为安卓手机

    reconn_interval?: number

    触发system.offline.network事件后的重新登录间隔秒数,默认5(秒),不建议设置过低 设置为0则不会自动重连,然后你可以监听此事件自己处理

    resend?: boolean

    被风控时是否尝试用分片发送,默认true

    sign_api_addr?: string

    签名服务器地址,未配置可能会导致登录失败和无法收发消息

    ver?: string

    使用版本,仅在对应platform中有多个版本是有效,不填则使用最新版本