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

    接口 InsertLocalMessageExData

    插入本地消息(扩展版)参数

    interface InsertLocalMessageExData {
        accountId?: string;
        conversationId?: string;
        createTime?: number;
        lastMessageUpdateEnabled?: boolean;
        senderId?: string;
        teamId?: string;
        text: string;
    }

    层级 (查看层级一览)

    索引

    属性

    accountId?: string

    单聊对方账号 ID

    conversationId?: string

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

    createTime?: number

    消息时间(毫秒时间戳)

    lastMessageUpdateEnabled?: boolean

    是否同步更新会话的最后一条消息

    true
    
    senderId?: string

    发送者账号 ID,不传则为当前登录账号

    teamId?: string

    群 ID

    text: string

    消息文本