Skip to main content

Telethon-MCUB

Telethon-MCUB is a maintained Telethon fork for MCUB and userbot-oriented workloads. The Python import path remains telethon, but the package name for installation and publishing is Telethon-MCUB.

Installation

Install the base package:

pip install -U Telethon-MCUB

Install with optional extras:

pip install -U "Telethon-MCUB[cryptg]"
pip install -U "Telethon-MCUB[socks]"
pip install -U "Telethon-MCUB[media]"
pip install -U "Telethon-MCUB[speedups]"
pip install -U "Telethon-MCUB[all]"

Optional extras:

  • cryptg for faster encryption/decryption.

  • socks for proxy support through python-socks[asyncio].

  • media for image resizing and media metadata extraction via pillow and hachoir.

  • speedups for faster gzip handling through isal.

  • all to install every optional dependency listed above.

Quick Start

from telethon import TelegramClient, events, sync

api_id = 12345
api_hash = "0123456789abcdef0123456789abcdef"

client = TelegramClient("session_name", api_id, api_hash)
client.start()

print(client.get_me().stringify())
client.send_message("username", "Hello from Telethon-MCUB")

@client.on(events.NewMessage(pattern="(?i)hi|hello"))
async def handler(event):
    await event.respond("Hey!")

Fork Notes

  • The package is published as Telethon-MCUB, but existing code should keep importing telethon.

  • MCUB-specific changes and release history are tracked in CHANGELOG.md.

  • Core Telethon concepts and API documentation are still largely applicable: https://docs.telethon.dev

Metadata

Release files for Telethon-MCUB 1.43.18

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

Built distribution (wheel)

Table of built distributions (wheels) for Telethon-MCUB 1.43.18
File Interpreter ABI Platform Actions
telethon_mcub-1.43.18-py3-none-any.whl Python 3 none any Details for telethon_mcub-1.43.18-py3-none-any.whl

Release files / telethon_mcub-1.43.18-py3-none-any.whl

Download URL telethon_mcub-1.43.18-py3-none-any.whl
Size 793.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e0c76a95a2d1d42b62de038239f49db08172f474a34ae12acef9e04b9a6b8db
BLAKE2b-256 checksum
How to use checksums
2b911e23e77a934163b62551493c2562481dc15beea33bc03150aa31ed410023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for Telethon-MCUB 1.43.18

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

1.43.18 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