A simple Python library for creating telegram bot.
Project description
This library provides interesting opportunities for creating telegram bots. convenient syntax, decorators.
EXAMPLE USE!
from monsgrams import Bot
bot = TelegramBot("YOUR_BOT_TOKEN")
@bot.command("start")
async def start_command(bot, chat_id):
await bot.send_message(chat_id, "Hello! I am bot. How are you?")
async def main():
await polling_loop(bot)
if __name__ == "__main__":
asyncio.run(main())
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
monsgrams-0.6.tar.gz
(2.0 kB
view details)
File details
Details for the file monsgrams-0.6.tar.gz.
File metadata
- Download URL: monsgrams-0.6.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ad805e985f49efc25265632e0b1204f7cd31646341242bfafe95c3c7400a587
|
|
| MD5 |
8dd6085ade39fce714840701540a63b5
|
|
| BLAKE2b-256 |
63ea22615f6384f1df4bbfbe25bbd9f899de08e82bd9d9a9021eb5716bdc81ad
|