问题描述
我正在开发 Viber 聊天机器人,但已经遇到了一些问题。 我正在创建 JSON 键盘按钮,但每次单击每个按钮时,Viber 都会增加未读消息计数器。 例如,每次单击按钮 A 时,未读消息都会显示 1、2、3、... 我已经在使用参数:Silent => true,
{
"auth_token": "AUTH-TOKEN-HERE","receiver": "RECEIVERID-HERE","min_api_version": 8,"keyboard": {
"Type": "keyboard","Buttons": [
{
"Columns": 1,"Rows": 1,"BgColor": "#c52515","ActionType": "reply","ActionBody": "start","Silent": "true","Image": "XXXXXX"
},{
"Columns": 2,"Rows": 2,"BgColor": "#9a1e12","ActionBody": "B","Text": "","TextVAlign": "middle","TextHAlign": "center","TextSize": "regular",{
"Columns": 4,"ActionBody": "A","Text": "<font color=\"#ffffff\"><b>INFO</b></font>","TextSize": "large","Silent": "true"
}
]
}
}
对类似问题有任何想法或经验吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)