Skip to content

发送动态卡片

基本信息

中文名: 发送动态卡片

接口名: /openplatform/card/send

所在目录: 组件相关

调用方式: POST(HTTPS)

发布版本 :V2.8.0

最低可用版本V2.8.0

请求参数

名称类型是否必填示例值描述
conversationTypeInteger会话类型:1-单聊,2-群聊
cardDataObject卡片数据
privateDataObject卡片个人数据
cardTemplateIdString卡片模板id
senderUserIdString发送者accountId
receiverUserIdListString单聊接收人,多个用户id使用英文逗号","进行分隔
openConversationIdString群聊cid

返回参数

名称类型描述
successBoolean请求是否成功。true:请求成功;false:请求失败
errorCodeString错误码
contentBoolean操作结果
errorMsgString错误信息