Skip to main content

PyTgSend

Lightweight python snipet to send message(s) to telegram through bot api. There are many like it, but this one is mine

Only requires requests lib. Was done using python 3.9, full supported python versions list - conveniently left for end user to deal with.

Only sends text messages at the moment. No images or anything, just text.

Installation example:

python3 -m pip install PyTgSend

Usage example:

from PyTgSend import tg_send_message

tg_send_message(
    'your message here', 
    conf={
        'token': '<your_bot_token>', 
        'chat_id': '<your_chat_id>'
    }
)

Metadata

Release files for PyTgSend 1.2

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

Source distribution (sdist)

Source distribution for PyTgSend 1.2
File Size Uploaded
PyTgSend-1.2.tar.gz 3.1 kB Details

Release files / PyTgSend-1.2.tar.gz

Download URL PyTgSend-1.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7b0fc424cec2c17052804ab9a94bb51622e10a625143cddd3183f23b2ed1d6e3
BLAKE2b-256 checksum
How to use checksums
dccae10a3b044cd8ea1f38e68eec862246bd27f20c968cbe8788bed0a8ae12b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.1

1 release file

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