-
I want to create telegram bot which uses the telegram's latest web app technology. When I search for telegram web app examples on the internet I just come across this repository template but I do not know how I can integrate this template with my C# telegram bot. I need help on this. Can you please provide some resources or guide on that ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Well, in general, the WebApp is just a website page. The bot should display it at the click of a button (which you can set up in the bot's settings), or send a keyboard with a button (there is an example in the README.md of this repository). The main question is how you want to organize the interaction of your bot written in C# with the user via WebApp. Perhaps you don't need to make any changes to the bot's code at all. You just need to host the page somewhere. The README.md seems to me to contain an excellent guide to the initial setup of the bot. Then you can build on it later. |
Beta Was this translation helpful? Give feedback.
Well, in general, the WebApp is just a website page. The bot should display it at the click of a button (which you can set up in the bot's settings), or send a keyboard with a button (there is an example in the README.md of this repository).
The main question is how you want to organize the interaction of your bot written in C# with the user via WebApp. Perhaps you don't need to make any changes to the bot's code at all. You just need to host the page somewhere.
The README.md seems to me to contain an excellent guide to the initial setup of the bot. Then you can build on it later.