a 🧑💻Telegram API🧑💻 wrapper
Project description
Curtely v0.0.2 Telegram API wrapper
Change log
- Added
message_handlerdecoretor and renamedhandle_updatestorun
Usage
# Here is an example of an easy echo bot
import curtely
TOKEN = "your-token-here"
bot = curtely.TelegramAPI(TOKEN)
@curtely.message_handler(bot)
def message_handler(api: curtely.TelegramAPI, 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.2.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.2.tar.gz.
File metadata
- Download URL: curtely-0.0.2.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 |
b9d3171a9710f70907f886edebbdbc87c2fa692212a964e2c43701bbf3cb7efe
|
|
| MD5 |
2904c576e6bb1d624c01398f62b6bf52
|
|
| BLAKE2b-256 |
f73d63161fc019134c7a1dfed4dd10aca27f3accc0c4f8837c4a1534dcf2fa43
|
File details
Details for the file curtely-0.0.2-py3-none-any.whl.
File metadata
- Download URL: curtely-0.0.2-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 |
269a454a5eee87914764cdd5822366214ee55bd6df0a3a6b8d84b5238a0f377f
|
|
| MD5 |
71fd2bd8088bafd70b5ec10db105dfb4
|
|
| BLAKE2b-256 |
3a247c8b8cb90cddfe2d0dcd4fa62cdc2bf80b5310eef7204ebe57ab2c24d632
|