1
0
mirror of https://github.com/otter18/tg_logger.git synced 2025-08-04 21:32:56 +02:00

Update README.md

This commit is contained in:
ChernV
2021-03-04 13:35:28 +03:00
committed by GitHub
parent b7b5e04498
commit 6936361103

View File

@ -6,6 +6,7 @@
Bridging python logging and files to tg bot
![example_scr](https://raw.githubusercontent.com/otter18/tg_logger/master/img/example_scr.png)
## Table of Contents
- [Installation & Usage](#installation--usage)
@ -13,7 +14,6 @@ Bridging python logging and files to tg bot
* [Simple logging](#simple-logging)
* [Flask logging](#flask-logging)
* [TgFileLogger example](#tgfilelogger-example)
* [Example screenshot](#example-screenshot)
- [FQA](#fqa)
* [How to create a telegram bot?](#how-to-create-a-telegram-bot)
* [How to get **token** and **user_id**?](#how-to-get-token-and-user_id)
@ -90,9 +90,6 @@ with open(file_name, 'w') as example_file:
tg_files_logger.send(file_name, "Test file")
```
### Example screenshot
![example_scr](https://raw.githubusercontent.com/otter18/tg_logger/master/img/example_scr.png)
## 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))