This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...So... let me give it to you straight: | |
1. Create a (web form) page ViberDummyBot.aspx with a single line as shown below. | |
2. Copy the content of 'ViberDummyBot.aspx.cs' below (to your own *.cs file). | |
3. Replace the value in 'paAuthenticationToken' with the token of your account. | |
4. Call set web hook (https://chatapi.viber.com/pa/set_webhook) with the token of your account and your URL address of ViberDummyBot.aspx (Must have trusted ssl certificate) | |
That's it. U got a dummy bot that reply to any text you send it (With empty Keyboard) from Viber application |