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

    接口 SendCustomMessageData

    发送自定义消息参数

    interface SendCustomMessageData {
        accountId?: string;
        conversationId?: string;
        rawAttachment: string;
        teamId?: string;
        text: string;
    }

    层级 (查看层级一览)

    索引

    属性

    accountId?: string

    单聊对方账号 ID

    conversationId?: string

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

    rawAttachment: string

    自定义附件内容(建议 JSON 字符串)

    teamId?: string

    群 ID

    text: string

    消息文本(可作为展示文案)