RongIMLib View Markdown
    Preparing search index...

    Interface TranslateItem

    interface TranslateItem {
        identifier: string;
        from: 0 | 1;
        code: number;
        translateInfo: TranslateInfo;
    }
    Index
    identifier: string

    翻译内容标识:消息的 UId 或内容的 md5

    from: 0 | 1

    源内容来源:

    • 0: 消息
    • 1: 自定义文本
    code: number

    状态码,当值为 ErrorCode.SUCCESS 时,表示翻译成功,否则为翻译失败

    translateInfo: TranslateInfo

    翻译信息