Skip to main content

A simple Python library for creating telegram bot.

Project description

This library provides interesting opportunities for creating telegram bots. convenient syntax, decorators.

EXAMPLE USE!

bot = Bot("7181251700:AAF26R-70RNWYXprybRMqtthnTRjJU7LeNM")

@bot.command("start")
async def start_command(context):
    await context.bot.send_message(context.chat_id, f"Hello! I am bot. How are you? User ID: {context.from_user_id}, Chat Type: {context.chat_type}")

async def main():
    await bot.polling_loop()

if __name__ == "__main__":
    asyncio.run(main())

DOCS - WRITING.

Project details


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.8.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file monsgrams-0.8.tar.gz.

File metadata

  • Download URL: monsgrams-0.8.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for monsgrams-0.8.tar.gz
Algorithm Hash digest
SHA256 e04dd0ed0e862292af9b1ee43aed97166548dccd338211dede0c1f38f332ab63
MD5 094efbb73aa10a7a73993e59bd737743
BLAKE2b-256 925a9a4d511f050069363f97e0a607c34ad908d832fc31b3d0a904e3952ed15e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page