In this way, you can develop a simple Chat Bot for Viber using PHP.
Receiver unique viber user id to whom the message is being sent type Message type (picture for image) text photo description (can be null if not required) media URL of image (only jpeg supported) thumbnail reduced image URL (only jpeg supported) Similarly, we can also.
Please go through the article below to find live example.
Latest update on December 27, 2015 at 10:55.
Before proceeding, please note that once a message or conversation is deleted, it cannot be restored.Heres the sample PHP code:?php url 'm/pa/set_webhook jsonData' "auth_token "your_auth_token "url "m/webhook_page" ch curl_init(url curl_setopt(ch, curlopt_post, 1 curl_setopt(ch, curlopt_postfields, jsonData curl_setopt(ch, curlopt_httpheader, array Content-Type: application/json result curl_exec(ch curl_close(ch?Rows: button height in rows.Tick the checkboxes displayed next to the unwanted messages and then tap on the.
The callback data format is as follow: "event webhook "timestamp, "message_token event Callback type which event triggered the callback.
Several months ago I received and had to pay a charge of 600 for a call from Vietnam to the US levied by Viettel.
Each button must contain at least one of the following optional parameters: text, BgMedia, image, BgColor.Once a set_webhook request is sent, Viber will send a callback to the webhook to check its availability, and return a response to the user.Possible values: picture or gif.The, delete for everyone realen monster cock armee sex-tape option is only available for messages youve sent from your mobile: Delete Multiple Messages in a Viber Chat.You will see the.A keyboard can be attached to a message as follows: Url: m/pa/send_message Post parameters: "auth_token "receiver " A "type text "text The message "keyboard "Type "keyboard "BgColor ffffff "Buttons "Columns 6, "Rows 1, "BgColor 2db9b9 "BgMediaType "gif "BgMedia "f "BgLoop true, "ActionType "open-url "ActionBody "Image.