小米渠道的推送最近新增了模版id【https://dev.mi.com/xiaomihyperos/documentation/detail?pId=1559】,服务器推送API中应该不支持template_id和template_param字段,需要官方帮我确认下是否有办法传入这两个字段
不好意思链接贴错了【https://dev.mi.com/xiaomihyperos/documentation/detail?pId=2315】,6月2日多了一个模版ID,不是channelID,7月1日生效
您好,服务器推送 API 支持配置小米渠道的模板 ID(即channel_id),但并非通过template_id和template_param字段,而是需在调用 API 时通过channel_properties参数中的xiaomi_channel_id字段进行传递。请使用channel_properties.xiaomi_channel_id来传入小米的模板/渠道 ID
channel_id
template_id
template_param
channel_properties
xiaomi_channel_id
channel_properties.xiaomi_channel_id