This library is deprecated. No new development will be taking place. We recommend that you use either NodeJS, Python or REST API.
Use this library to develop a bot for Viber platform. The library is available on GitHub as well as maven central.
This library is released under the terms of the Apache 2.0 license. See License for more information.
- Java >= 8
- An Active Viber account on a platform which supports Public Accounts/ bots (iOS/Android). This account will automatically be set as the account administrator during the account creation process.
- Active Public Account/ bot.
- Account authentication token - unique account identifier used to validate your account in all API requests. Once your account is created your authentication token will appear in the account’s “edit info” screen (for admins only). Each request posted to Viber by the account will need to contain the token.
- Webhook - Please use a server endpoint URL that supports HTTPS. If you deploy on your own custom server, you'll need a trusted (ca.pem) certificate, not self-signed. Read our blog post on how to test your bot locally.