A fast and simple library for Telegram bots
Project description
TelegramBotFastMe
TelegramBotFastMe is a fast and simple library for creating Telegram bots in Python.
Installation
Install the library using pip:
pip install telegram-bot-fast-me
Usage
Here's a simple example of how to use the library:
import asyncio
from telegram_bot_fast_me import TelegramBotFastMe
bot = TelegramBotFastMe("YOUR_BOT_TOKEN")
@bot.command("start")
async def start_command(bot, chat_id, message):
await bot.send_message(chat_id, "Hello! I'm a fast bot.")
@bot.command("help")
async def help_command(bot, chat_id, message):
await bot.send_message(chat_id, "This is the help message.")
asyncio.run(bot.start())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for telegram_bot_fast_me-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6599dee427497585ddd0ff4c7da3ad05dcc52c2d98a90a9ebf83f5ee261a3ccf |
|
MD5 | 0b3206cc6e0dfbf46bfeed693ccc80cb |
|
BLAKE2b-256 | 22db55f8f8bd0effc7a6f519956d33fedfbc413ab9166fc824b0d9c0942b426e |