Skip to main content

Better parsing modes for telethon.TelegramClient

Project description

README

from telethon import TelegramClient
from dimentyy.tl.parse import BetterParsing

client: TelegramClient = ...
client.parse_mode = BetterParsing.HTML()

# From now on, every message will be handled by the 
# new parser. It resembles default "HTML", but with
# some new features such as mentions and spoilers!
MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dimentyy_tl_parse-0.0.1.dev2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

dimentyy_tl_parse-0.0.1.dev2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page