For Telegram, those instructions are written here. But of course, they don’t make all their data available for fetching, they specify what type of data are okay to send and what their app can do if and when it receives data from another app. For this reason, developers write instructions on how their app can send and receive data from other apps. Developers create a way for their apps to fetch data from each other because (1) it’s pretty cool and (2) it’s what many users want. When you transfer money from an app and receive an SMS for your OTP, that is app integration in action. When you place an online purchase and receive a message from your credit card app, that is app integration in action. There are two ways that apps integrate with each other - through polling and webhooks. Nota bene: This post is part of a three point tutorial about Telegram bots (second part is here and third part still in the oven) Quick intro to webhooks To do so, we will touch on the the concept of webhooks and we will make frequent reference to Telegram Bot’s API documentation. Before I hash out the step by step instructions, it’s important that you have a conceptual understanding of how your bot is going to work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |