K
K
KeterVik2018-08-17 13:18:59
Python
KeterVik, 2018-08-17 13:18:59

How to manage a telegram bot through a web page?

There is one bot in telegram. It is necessary to implement the update of its commands through the site. For example, by creating a form with the ability to attach images, text and a tag (command), so that the new command (more precisely, its contents) replaces the old one. I plan to place a similar web page on pages github and somehow catch requests from there, so that I can then redirect them to the bot. Is it possible to do something like this? I do not even know how to approach this issue and where to start, so I ask you for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SubGANs, 2018-08-17
@KeterVik

Store the contents of the commands in a database or file and change this data through the form on the site. Probably flask, django will help with this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question