ymx-yunxin-im
    正在准备搜索索引...

    接口 ImportLocalMessagesData

    批量导入本地消息参数

    interface ImportLocalMessagesData {
        accountId?: string;
        conversationId?: string;
        messages: ImportLocalMessageItem[];
        shouldUpdateConversation?: boolean;
        teamId?: string;
    }

    层级 (查看层级一览)

    索引

    属性

    accountId?: string

    单聊对方账号 ID

    conversationId?: string

    会话 ID,与 accountId、teamId 三选一,优先级最高

    要导入的消息列表

    shouldUpdateConversation?: boolean

    是否同时更新会话(会话列表会显示最新一条)

    true
    
    teamId?: string

    群 ID