telegram-bot Webhooks


Introduction

There are two methods to get messages and informations from your bot:

The /getUpdates function wich is documented pretty straight forward in the spectific section of the documentation

Next: The webhook function which is a bit more complex and often causes issues.

The difference basically is that you use the first alternative to pull changes and react to them and the second one acts more like a push method, by sending a json document.