Skip to main content

Cleangram - Telegram Bot API wrapper

Project description

Pypi Telegram Bot API Channel Code style: black

Cleangram

Getting Started

pip install cleangram

Echo bot

from cleangram import App, Bot, Message, env

tg = App()


@tg.message()
async def echo(msg: Message, bot: Bot):
    await bot.send_message(msg.chat.id, msg.text)


tg.polling.run(env.TELEGRAM_BOT_TOKEN)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cleangram-0.0.0.dev1-py2.py3-none-any.whl (206.3 kB view hashes)

Uploaded Python 2 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