Added "path" to config, to run bot on non-root URLS and run multiple bots on same site#10
Added "path" to config, to run bot on non-root URLS and run multiple bots on same site#10denis-cto wants to merge 3 commits intoViber:masterfrom
Conversation
…like site.com/bot/viber) or multiple bots (like site.com/bot/1 and site.com/bot/2)
…like site.com/bot/viber) or multiple bots (like site.com/bot/1 and site.com/bot/2)
|
Can't make keyboard work... I'm no coder so i just followed the instructions and not tweak anything but can't make keyboard to work.. //Sample Location works as well as others except for Keyboard.. What could be the cause? //Sample Keyboard //Sample Location |
|
475d95a18527d031-2056bad74bf56c67-144894bb39a75714 |
|
sorry.. const webhookUrl1 = 'https://mybotapi.ru:7002/bots/bot1'; let httpOptions = {}; |
If you need the bot to be run on non-root URL, for example www.site.com/mybot/runhere or if you want run multiple bots on the same site, for example www.site.com/bots/01, www.site.com/bots/02, www.site.com/bots/03, and so on. There is additional configuration option for this:
use