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, "Привет! Я бот. Как дела?")
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.5.tar.gz
(2.0 kB
view details)
File details
Details for the file monsgrams-0.5.tar.gz.
File metadata
- Download URL: monsgrams-0.5.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 |
b8deeaba1bfa713c3cd152809ef62274f773949f372dfa7d9b8b9df21f58a5ad
|
|
| MD5 |
462effe6accfd17a13581fd5bdf3c654
|
|
| BLAKE2b-256 |
79a765249709fbd88bc351348a9d24daa67c0153338bc9e9d84578c342987746
|