Skip to main content

Simple Class to easily make calls to the Telegram bot API

Project description


A simple class that can call arbitrary methods and make a request to Telegrams bot api.

But why ?

While writing my userbot I wanted a easy way to make calls to the bot api without needing a full blown lib with handlers etc..

Where are the docs ?

Use the Telegram Docs and the following example as base.

import lazybot
bot = lazybot.Bot('TOKEN')
# you can use snake case
bot.send_message(chat_id=123456, text='Text')

# or camelCase
bot.sendMessage(chat_id=123456, text='Text')


pip install lazybot

Project details

Download files

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

Files for lazybot, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size lazybot-0.1.0-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lazybot-0.1.0.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page