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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file telegram_bot_fast_me-0.1.tar.gz.

File metadata

  • Download URL: telegram_bot_fast_me-0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for telegram_bot_fast_me-0.1.tar.gz
Algorithm Hash digest
SHA256 bc8e5b66113e351bf5859366a8899492e1c312e938bca25aaaf1188f35965231
MD5 2a36b151d015d8e505dc1e577c8362ea
BLAKE2b-256 e5c45f4170426c3cfe3249ff658918ea5ff32739360c3b267fe9c677a73a1fb6

See more details on using hashes here.

File details

Details for the file telegram_bot_fast_me-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for telegram_bot_fast_me-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6599dee427497585ddd0ff4c7da3ad05dcc52c2d98a90a9ebf83f5ee261a3ccf
MD5 0b3206cc6e0dfbf46bfeed693ccc80cb
BLAKE2b-256 22db55f8f8bd0effc7a6f519956d33fedfbc413ab9166fc824b0d9c0942b426e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page