Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

lazybot

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lazybot

Simple Class to easily make calls to the Telegram bot API

pipPyPI
Version
0.1.0
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts