NativeChat allows publishing a chatbot for Viber. In order to publish your channel to Viber, you will need to apply for a public account in Viber Public Accounts portal. Once you have a Public Account, you can create enable the Viber channel in the Channels & Publishing section and follow the instructions.
Once your Public Account is published, your users will be able to interact with your chatbot by simply messaging your public account.
Apply for a Public Account with Viber
Before you can create and publish a chatbot for Viber, you need to apply for a Viber Public Account by registering at http://info.viber.com/en-apply-public-account.html/.
Create a new channel in NativeChat
To receive messages and other events sent by Viber users, the public account should enable webhooks integration with NativeChat. For this purpose, you will need to retrieve your App Key in your public account.
- Open the Channels & Publishing section of your NativeChat bot.
- Click the Publish button for Viber, and provide the App Key you have obtained earlier from your Viber Public Account.
- Click the Get account info button. You will receive your Public Account Name and Avatar Icon.
- After verifying your public account you can click Set up and your bot is connected with your Viber Public Account.
Test your bot
Now you should be able to message your Public Account by navigating to its public account message button in the up right corner and sending it a message.
Publish your Public Account in Viber
By default, every Viber Public Account is not published and you will receive a message in Viber: Your Public Account is not published. If your bot testing is completed you can Publish your Viber Public Account, so your users can message your bot.