hello_world

This example demonstrates a basic API usage

import asyncio
from pyrogram import Client


async def main():
    # Create a new Client instance
    app = Client("my_account")

    async with app:
        # Send a message, Markdown is enabled by default
        await app.send_message("me", "Hi there! I'm using **Pyrogram**")


asyncio.run(main())