Skip to main content
https://travis-ci.org/aioworkers/aioworkers-tg.svg?branch=master https://img.shields.io/pypi/v/aioworkers-tg.svg

Plugin to work with Telegram in aioworkers.

Features:

  • Telegram user.

  • Telegram channels.

  • Telegram groups.

Usage

Install it with pip:

pip install aioworkers-tg

Create entity of bot in aioworkers config:

bot:
    cls: 'aioworkers_tg.bot.TelegramBot'
    api_token: '1234567890'

You can use it directly from context:

await context.bot.channel('@yourchannel').send_text("Hello from channel!")

Also it is possible to create chat instance and send messages directly:

chat:
    cls: 'aioworkers_tg.chat.TelegramChat'
    bot: 'bot' # reference to created bot
    group_id: '11111'
await context.chat.send_text("Hello!")

Metadata

Release files for aioworkers-tg 0.0.1

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

Source distribution (sdist)

Source distribution for aioworkers-tg 0.0.1
File Size Uploaded Provenance Actions
aioworkers-tg-0.0.1.tar.gz 2.5 kB Without provenance Details for aioworkers-tg-0.0.1.tar.gz

Release files / aioworkers-tg-0.0.1.tar.gz

Download URL aioworkers-tg-0.0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
988bd8c0e2eee75900c0d9b182a199e782d1867fefd19a6f9e041d6a547a2377
BLAKE2b-256 checksum
How to use checksums
abba242823e0860a25a1ccefb042d7322dae869d6ffd09cd3b1598400e05d26d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

Security for aioworkers-tg 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

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