a 🧑💻Telegram API🧑💻 wrapper
Project description
Curtely v0.0.3 Telegram API wrapper
Change log
- Added
chat_id()toMessage - Renamed
TelegramAPIonBot
Usage
# Here is an example of an easy echo bot
import curtely
TOKEN = "your-token-here"
bot = curtely.Bot(TOKEN)
@curtely.message_handler(bot)
def message_handler(api: curtely.Bot, message: curtely.Message):
api.send_message(message.reply(message.content()))
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
curtely-0.0.3.tar.gz
(6.7 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 curtely-0.0.3.tar.gz.
File metadata
- Download URL: curtely-0.0.3.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e87e49f34b87c848d8cdda5f29eee78caf612de972839985155879eced3ee7
|
|
| MD5 |
4e39facecacf4636aa1898f9f1302eb7
|
|
| BLAKE2b-256 |
8f7c5b205a4e73082b4b1041352f2825941aeebc04a986ec75e776c2741da15b
|
File details
Details for the file curtely-0.0.3-py3-none-any.whl.
File metadata
- Download URL: curtely-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
755b1db2f15f727e509489640362a0feef251c1c431c9981caba1363b960a294
|
|
| MD5 |
4a7b01b79a7b9c486c81ed0592d0b81f
|
|
| BLAKE2b-256 |
646803bd5124f5930779e61fbd2ad6480aff6d9c0a2a5a70000adea161678e11
|