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

    接口 InsertLocalMessageData

    插入本地消息参数

    interface InsertLocalMessageData {
        accountId?: string;
        conversationId?: string;
        createTime?: number;
        senderId?: string;
        teamId?: string;
        text: string;
    }

    层级 (查看层级一览)

    索引

    属性

    accountId?: string

    单聊对方账号 ID

    conversationId?: string

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

    createTime?: number

    消息时间(毫秒时间戳),不传则为当前时间

    senderId?: string

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

    teamId?: string

    群 ID

    text: string

    消息文本内容