如何删除我的机器人发送给用户的消息?如果消息包含按钮会影响它们吗?它们会消失吗?删除按钮的最佳方法是什么?
我正在使用 PHP 通过 Viber REST API 创建 Viber 机器人。我试图了解如何创建 Viber 的键盘设计集,但无济于事。如何让它看起来像 Viber 提供的键盘设计示例一样?
[
[
'Columns' => 3,
'Rows' => 2,
'Text' => '<font color=\"#494E67\">Smoking</font><br><br>',
'TextSize' => 'medium',
'TextHAlign' => 'center',
'TextVAlign' => 'bottom',
'ActionType' => 'reply',
'ActionBody' => 'Smoking',
'BgColor' => '#f7bb3f',
'Image' => 'https://img.icons8.com/material-outlined/24/000000/smoking.png',
],
[
'Columns' => 3,
'Rows' => 2,
'Text' => '<font color=\"#494E67\">Non Smoking</font><br><br>',
'TextSize' => 'medium',
'TextHAlign' => 'center',
'TextVAlign' => 'bottom',
'ActionType' => 'reply',
'ActionBody' => 'Non smoking',
'BgColor' => '#f6f7f9',
'Image' => …Run Code Online (Sandbox Code Playgroud)