Questions tagged [viber-bot]

The Bot API is an HTTP-based interface created for developers keen on building bots for Viber which is an instant-messaging app with documented API. Use this tag if you're writing a Viber bot and have a specific question regarding the Bot API.

Links:

47 questions
5
votes
0 answers

Viber: how to delete message with API

How can I delete a message sent with my bot to user? If the message contains buttons it would affect them? Do they disappear? What is the best way to remove buttons?
Eugene Lisitsky
  • 12,113
  • 5
  • 38
  • 59
4
votes
1 answer

Getting wrong image out from Viber's keyboard button's Image

I am creating a Viber bot via Viber REST API using PHP. I am trying to understand how to create the Keyboard design set by Viber but to no avail. How to make it look like the same from the example provided by Viber's keyboard design? [ [ …
MiniDr
  • 191
  • 1
  • 11
4
votes
2 answers

Viber API get all subscribers

I am trying to create a Viber Bot and looking for the method that can run through all subscribers I have in the specific Public account I checked out all methods from Documentation but haven't found anything like "get_all_subscribers" or…
Sigmund
  • 748
  • 1
  • 8
  • 28
3
votes
0 answers

Subscribe and communication with Viber Bot

I followed the Viber Python Bot Tutorial to create a bot: https://developers.viber.com/docs/api/python-bot-api/ I have deployed a local server using Ngrok, following this…
stavroszaf
  • 51
  • 4
3
votes
1 answer

Viber bot: problem with opening images on iPhone

The image is successfully opened on Viber Android, Viber Macbook, Viber Windows, but the image does not open on an iPhone of any model. Link: https://loyalty.aptekanizkihcen.ua/binary/img/01EBCE62A36084CE3DF9E5AB2FD796E03567973D.jpg
3
votes
1 answer

UnhandledPromiseRejectionWarning: Unhandled promise rejection/

I use an example from the viber site but I get this error. What could be wrong? Thanks! https://developers.viber.com/blog/2017/05/24/test-your-bots-locally (node:11512) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error…
Sined
  • 31
  • 2
3
votes
1 answer

Is there a way to generate URLs for local files?

I'm trying to create a Viber chat-bot that is able to send some pictures. I am required to send URL of an image as a parameter, but the images I want to send are on my desktop and I do not know how to get their URLs. I tried using requests: image =…
2
votes
0 answers

How to send message with viber bot to group chat?

Im trying to make a vibe bot that will only send announcements to group of people. The bot will not respond or interact with anyone, as its only and primary task is sending given text as an announcement to a group of people in the same chat.

 I…
2
votes
2 answers

How to create a custom connector in rasa for Viber connectivity

How to create a custom connector in rasa for Viber connectivity • This is my current custom connector file. the file name is viber.py and I am using rasa 2.8 ( I had to hide the hostname in webhook) from http.client import HTTPResponse from…
2
votes
0 answers

Bot API Viber buttons for choices

Do you how can I change the color for the choice buttons in the Bot for a viber integration? It seems that with viber it can't be done or I couldn't find it yet :). Let me know if you have any ideas to try it out. Thanks, Cosmin
2
votes
2 answers

How do I make the corners of a button rounded? Viber bot

{ "viber": { "type": "keyboard", "inputFieldState": "hidden", "buttons": [ { "ActionBody": "/test", "ActionType": "reply", "BgColor": "#FF0000", "Frame.CornerRadius": "4", …
Dorogan
  • 21
  • 2
2
votes
2 answers

How to send markdown or HTML message via Viber bot

Is it possible to send formatted message from Viber Bot with Markdown or HTML tags? If yes - then how? What attributes to specify?
wowkin2
  • 5,895
  • 5
  • 23
  • 66
2
votes
1 answer

Viber Chatbot - Creating an echo bot

I was following the Viber Node.JS Bot Documentation and was creating an echo bot that would repeat the messages back to the user. But it does not work and the bot does not reply to my messages. Here is the code: 'use strict'; const ViberBot =…
1
vote
0 answers

How to send welcome messages using the Viber API

I'm trying to send a welcome message to the particular contact number using Viber API. Can someone please help me to achieve this?? Here is what I have tried so far... I did setup my webhook using this https://pipedream.com/ after that, I called…
1
vote
2 answers

Python viber Bot is not working as described in the documentation. It doesn't give any respond in the viber mobile app

I have followed the official viber doc, using python: https://developers.viber.com/docs/api/python-bot-api/ The server has been deployed properly (https) and the set_webhook…
1
2 3 4