No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
SitiSchu Initial commit
Signed-off-by: SitiSchu <admin@sitischu.com>
Latest commit e4fa7a6 Oct 24, 2018
Permalink
Failed to load latest commit information.
.gitignore Initial commit Oct 24, 2018
.pylintrc Initial commit Oct 24, 2018
LICENSE Initial commit Oct 24, 2018
README.md Initial commit Oct 24, 2018
lazybot.py Initial commit Oct 24, 2018
setup.py Initial commit Oct 24, 2018

README.md

lazybot

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')

Installation

pip install lazybot