Asynchronous Telegram Bot API client
Project description
Telegram Bot API
A simple and efficient asynchronous Telegram Bot API client.
Installation
pip install 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.1.1.tar.gz
(3.6 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.1.1.tar.gz.
File metadata
- Download URL: teleflow-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7801f28bcfa8c028d87cac4787b5b0d5102a15fb1f70e8809db3674889f709cb
|
|
| MD5 |
b05498a97168107c8098910cfd58e7cf
|
|
| BLAKE2b-256 |
cb5c9c8cfed16f1d9408be25f8a983e1f339d83c47b1e1204f940636137e0be6
|
File details
Details for the file teleflow-0.1.1-py3-none-any.whl.
File metadata
- Download URL: teleflow-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 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 |
7d5915e3ebaa59015275e96de6968db27e04cacef0643e00b455370e9a0fff02
|
|
| MD5 |
df757d7a724b381049659ebb148583d1
|
|
| BLAKE2b-256 |
527f8cd57387067f47abc2ff4237c074af2e463732b8d9de9ddc499d3614dd09
|