2021-03-11 19:47:11 +03:00
|
|
|
FQA
|
|
|
|
====
|
|
|
|
|
|
|
|
How to create a telegram bot?
|
|
|
|
******************************
|
|
|
|
|
|
|
|
To create bot use official `BotFather <https://t.me/BotFather>`_ bot (descibed `here <https://core.telegram.org/bots#6-botfather>`_)
|
|
|
|
|
|
|
|
How to get **token** and **user_id**?
|
|
|
|
*************************************
|
|
|
|
|
2021-03-13 15:09:11 +03:00
|
|
|
- Use `@tg_logger_demo_bot <https://t.me/tg_logger_demo_bot>`_ with command :code:`/id`
|
2021-03-11 19:47:11 +03:00
|
|
|
- Bot's **token** is shown after new bot is made
|
2021-03-13 15:09:11 +03:00
|
|
|
- To get **user_id** use special bots (e.g. `@userinfobot <https://t.me/userinfobot>`_, `@JsonDumpBot <https://t.me/JsonDumpBot>`_)
|