Skip to main content

Telegram Channels Bridge

https://img.shields.io/pypi/v/simplebot_tgchan.svg https://img.shields.io/pypi/pyversions/simplebot_tgchan.svg https://pepy.tech/badge/simplebot_tgchan https://img.shields.io/pypi/l/simplebot_tgchan.svg https://github.com/simplebot-org/simplebot_tgchan/actions/workflows/python-ci.yml/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

A SimpleBot plugin that allows to subscribe to Telegram channels from Delta Chat.

Install

To install run:

pip install simplebot-tgchan

Configure

See https://github.com/simplebot-org/simplebot to know how to configure the bot with an e-mail account.

Before you start using the bot, you need to get your own API ID and hash, go to https://my.telegram.org/ and get them then configure the bot:

simplebot -a bot@example.com db -s simplebot_tgchan/api_id "12345"
simplebot -a bot@example.com db -s simplebot_tgchan/api_hash "0123456789abcdef0123456789abcdef"

Then you must provide a phone number for the bot to use, to start session in Telegram:

simplebot -a bot@example.com login

After entering the verification code you received in Telegram or via SMS, start the bot:

simplebot -a bot@example.com serve

Then you can start subscribing to Telegram channels with /sub command writting to the bot address in Delta Chat.

Metadata

Release files for simplebot-tgchan 0.1.0

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

Source distribution (sdist)

Source distribution for simplebot-tgchan 0.1.0
File Size Uploaded
simplebot_tgchan-0.1.0.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplebot-tgchan 0.1.0
File Interpreter ABI Platform
simplebot_tgchan-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release files / simplebot_tgchan-0.1.0.tar.gz

Download URL simplebot_tgchan-0.1.0.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
79b33d3be4d9fe88d63dd9477ae0302df0b392c2aa5bf3a1366e8d09a7f173fd
BLAKE2b-256 checksum
How to use checksums
2d6561d6a49fadd735dc2ae6df6ee967446eaccc215459b55a425d339ac61413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / simplebot_tgchan-0.1.0-py3-none-any.whl

Download URL simplebot_tgchan-0.1.0-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccca931e85a64f81e23226cb935116af9838b0a5272636b2541a2d97de00974f
BLAKE2b-256 checksum
How to use checksums
062f85c3484c1f443fcb22d0bd0e3e95bffc3e764c85b2fb09e16e393ca78548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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