数据类型:SendGift
字段 | 类型 | 含义 | 建议 | 备注 |
---|---|---|---|---|
receiving_account_id | String | 收礼人账户 ID | 必须 | |
gifts | Array | 礼物列表 | 必须 | |
Merchandise | 礼物信息 | 必须 | ||
total_price_amount | Amount | 礼物总价金额 | 必须 | |
scene_object_id | String | 场景对象 ID | 必须 | 房间 ID 或会话 ID 等 |
scene | String | 场景 | 必须 | 枚举值: live_room:直播间 voice_room:语音房 chat_room:聊天室 chat:单聊 other:其它 |
{
"receiving_account_id": "5763543",
"gifts": [
{
"merchandise_id": "NFH837824432",
"category_1": "3c",
"category_2": "phone",
"category_3": "android",
"name": "huawei phone",
"count": 1,
"amount": {
"currency": "CNY",
"amount_local": 6800,
"amount_usd": 1000,
"amount_cny": 6800
}
}
],
"total_price_amount": {
"currency": "CNY",
"amount_local": 6800,
"amount_usd": 1000,
"amount_cny": 6800
},
"scene_object_id": "NDUH9364",
"scene": "live_room"
}