Skip to main content

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

This version

0.1

Download files

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

Source Distribution

telegram_bot_fast_me-0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

telegram_bot_fast_me-0.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded 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