a 🧑💻Telegram API🧑💻 wrapper
Project description
Curtely v0.0.3 Telegram API wrapper
Change log
- Added
chat_id()
toMessage
- Renamed
TelegramAPI
onBot
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 hashes)