1
0
mirror of https://github.com/otter18/tg_logger.git synced 2025-08-04 21:32:56 +02:00
This commit is contained in:
ChernV
2021-02-05 12:52:08 +03:00
committed by GitHub
parent a9c73e84ed
commit f12b840b71

View File

@ -59,6 +59,6 @@ tg_files_logger.send(file_name, "Test file")
![example_scr](https://raw.githubusercontent.com/otter18/tg_logger/master/img/example_scr.png)
## QA
### How to create a telegram bot? How to get `token` and `used_id`?
### How to create a telegram bot? How to get `token` and `user_id`?
- To create bot use official [BotFather](https://t.me/BotFather) bot (descibed [here](https://core.telegram.org/bots#6-botfather))
- To get `used_id` use special bots (e.g. [@userinfobot](https://t.me/userinfobot), [@JsonDumpBot](https://t.me/JsonDumpBot))
- To get `user_id` use special bots (e.g. [@userinfobot](https://t.me/userinfobot), [@JsonDumpBot](https://t.me/JsonDumpBot))