rubenlagus / TelegramApi

Java library to create Telegram Clients
MIT License
296 stars 108 forks source link

internal and external url of webhook #79

Open shankar-ranganathan opened 6 years ago

shankar-ranganathan commented 6 years ago

Hi,

What do you really mean by internal webhook url and external webhook url ?

I have tried, pengrad api, its very clearly documented how to expose our bot url for webhook. Its simply have to expose as REST post method. I have preferred to go with your api and im struck with exposing my bot as webhook. I preferred to use TelegramWebhookBot instead of TelegramLongPollingBot. I would like to deploy as web application and expose as post url for the webhook. Does it requires internal and external url in this case? Could you please post a clear example with your api for webhook.