When quick responses show up under the message in the Telegram bot's response, this is called Inline keyboard. This method of communication is very comfortable, it reminds of the usual menu navigation. We will do the same for our bot in this article. This is a translation of my article in Zen. Also, do not forget to read us in other services: Instagram, telegram (RU, EN, DE). Medium, LiveJournal, YouTube. To begin with, I recommend reading the articles Notifications in telegram from a smart home (RU) and Telegram: talking to a smart home (RU). Without the first one, nothing will work, and we will edit the automation from the second article. In the automation of "ping-pong", we will change just one word: telegram_command to telegram_callback. After clicking on the button in our menu, the old automation simply did not see the answer, although the content of the message was one-to-one. When we respond to a message with the buttons under the message, it is not the same as just a message in