Telegram chatbots
Types of buttons in Telegram chatbot Learning objectives: 12.6.4.5 create a database of answers by keywords; 1. Simple buttons Write code for creating simple buttons:
Let's add a button handler:
2. Callback buttons This button is used to trigger an action or function within the chatbot. When the user clicks the button, the Telegram app will send a callback query to the chatbot, which can then execute the desired action or function.
Write code for creating callback buttons:
3. URL buttons This button is used to open a webpage or link in the user's browser.
Write code for creating callback buttons:
Games in chatbots Game "Guess a number"
Game "Quizz Terms & Definitions"
| |
|
| |
| Просмотров: 1766 | |
| Всего комментариев: 0 | |











