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

    接口 PushMessage

    收到的消息

    interface PushMessage {
        conversationId: string;
        createTime: number;
        messageClientId: string;
        receiverId: string;
        senderId: string;
        text?: string;
        type: string;
    }
    索引

    属性

    conversationId: string

    消息所属会话 ID

    createTime: number

    消息发送时间,毫秒时间戳

    messageClientId: string

    消息 ID

    receiverId: string

    接收方账号 ID

    senderId: string

    发送方账号 ID

    text?: string

    文本内容,仅文本消息返回

    type: string

    消息类型:text 文本、image 图片、audio 语音、video 视频、file 文件、location 位置、notification 通知、call 通话、custom 自定义、unknown 未知