API Reference
English

送礼信息

数据类型:SendGift

字段类型含义建议备注
receiving_account_idString收礼人账户 ID必须
giftsArray礼物列表必须
Merchandise礼物信息必须
total_price_amountAmount礼物总价金额必须
scene_object_idString场景对象 ID必须房间 ID 或会话 ID 等
sceneString场景必须枚举值:
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"
}