Asynchronous Telegram Bot API client
Project description
Telegram Bot API
A simple and efficient asynchronous Telegram Bot API client.
Installation
pip install -U TeleFlow
Usage
from TeleFlow import TelegramBot
bot = TelegramBot("YOUR_BOT_TOKEN")
@bot.handler('message')
async def handle_message(message, update_type):
if message.text == '/start':
await bot("sendMessage", {
'chat_id': message.chat['id'],
'text': 'Hello!'
})
bot.run()
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
teleflow-0.2.0.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file teleflow-0.2.0.tar.gz.
File metadata
- Download URL: teleflow-0.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68968b5447d08c1999e336dc987baddb27bedb6233a605db9a1ec898bdadc3ed
|
|
| MD5 |
70f4b5e9c1cfaa3dd9fe347617b7edc0
|
|
| BLAKE2b-256 |
d397e3d47f2953d9e9a9213536191c14d390cd6f17e52f3946e8f396b2a07d20
|
File details
Details for the file teleflow-0.2.0-py3-none-any.whl.
File metadata
- Download URL: teleflow-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6103feb11d3495a4f26d3ad4dc86858dbb98c1500f97e6585a3eda5fef8b8e1c
|
|
| MD5 |
7feeb8cb553fa99ebac5d01c9d1ec30d
|
|
| BLAKE2b-256 |
61d86b386afe99a0c2887c1b48272320b42bc6b3d75cd9a7bbcbf2d04309f492
|