This release is a pre-release and may not be stable for production use.
telegram-logger
A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram.
Requirements
- Python 3.6 or newer
- Python package dependencies:
poetry installorpip install -r requirements.txt - A Telegram user or bot account
Usage
Set your api_id and api_hash in config.toml. You can get this from "API development tools" on https://my.telegram.org/. Note that this authenticates an app, not a user.
When you start the script for the first time, you will be prompted for credentials. Upon successful authentication, it will start logging all messages it can see to stdout.
You can set enabled_chats and disabled_chats in the config to a list of chat IDs to control which chats should be logged (the default is all).
You can set log_seperate_files to false if you want the all logging to be saved to one file, the default is one file per chatId.
When logging to files, you may want to turn logging to stdout off, by setting log_stdout to false.
Metadata
Release files for telegram-logger-x 0.12a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| telegram-logger-x-0.12a0.tar.gz | 7.6 kB | Without provenance | Details for telegram-logger-x-0.12a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telegram_logger_x-0.12a0-py3-none-any.whl | Python 3 | none | any | Details for telegram_logger_x-0.12a0-py3-none-any.whl |
Total release size: 14.6 kB
Release files / telegram-logger-x-0.12a0.tar.gz
| Download URL | telegram-logger-x-0.12a0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8ce0dae3f41277a356e7a05d2cabd7faa459fabab1f81d891fa4334ca85bfed
|
|
BLAKE2b-256 checksum How to use checksums |
24d06628c41b28e2d1d924300c567d216c2750665b68555d99bd36b3f4acedbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / telegram_logger_x-0.12a0-py3-none-any.whl
| Download URL | telegram_logger_x-0.12a0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17e5163475c76a32f252e99a36299cc954f859e4ae5b61dcc95db4cc2d0617c4
|
|
BLAKE2b-256 checksum How to use checksums |
913fbf2a7543833a552b31e6a37eac15523e696705067d24212621ac01b52d59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Security for telegram-logger-x 0.12a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.