Skip to main content

Stack:

Installation

pip install telegram-bot-reporter

Usage Sync

from telegram_bot_reporter import Bot

bot = Bot(bot_token=TELEBOT_TOKEN, chat_id=CHAT_ID)

# Send message
bot.send_message('Hello, world')

# Send file
temp_file = Path('test.txt')
with open(temp_file, mode='w', encoding='utf-8') as f:
    f.write('Test message')
bot.send_document(temp_file)

# Send long message (more than 4000 symbols)
bot.send_message('Very long message over 4000 symbols', split_message=True)

Usage Async

from telegram_bot_reporter import AsyncBot

bot = AsyncBot(bot_token=TELEBOT_TOKEN, chat_id=CHAT_ID)

await bot.send_message('Hello, world')

# Send file
temp_file = Path('test.txt')
with open(temp_file, mode='w', encoding='utf-8') as f:
    f.write('Test message')
await bot.send_document(temp_file)

# Send long message (more than 4000 symbols)
await bot.send_message('Very long message over 4000 symbols', split_message=True)

Metadata

Release files for telegram-bot-reporter 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telegram-bot-reporter 0.2.3
File Size Uploaded Provenance Actions
telegram_bot_reporter-0.2.3.tar.gz 4.6 kB Without provenance Details for telegram_bot_reporter-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telegram-bot-reporter 0.2.3
File Interpreter ABI Platform Actions
telegram_bot_reporter-0.2.3-py3-none-any.whl Python 3 none any Details for telegram_bot_reporter-0.2.3-py3-none-any.whl

Total release size: 10.8 kB

Release files / telegram_bot_reporter-0.2.3.tar.gz

Download URL telegram_bot_reporter-0.2.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3303a03dfc0f8c79270f7360fd4deb23e6f1ea5f152b943556d5f0abefa76db1
BLAKE2b-256 checksum
How to use checksums
7685d1b0053bf535597dcb4e03705096ea62e507d53f249cdde0100033227b7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure

Release files / telegram_bot_reporter-0.2.3-py3-none-any.whl

Download URL telegram_bot_reporter-0.2.3-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e93782ee3138730d6d27ffae0616c1a4985bcbc892269e94bf0983247ab77ba3
BLAKE2b-256 checksum
How to use checksums
31d7051acd0a1cda81979f6549643f34abc93381491176ce2971a21c55a40ca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure

Security for telegram-bot-reporter 0.2.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page