Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 304 Bytes

File metadata and controls

18 lines (10 loc) · 304 Bytes

raw_updates

This example shows how to handle raw updates.

from pyrogram import Client

app = Client("my_account")


@app.on_raw_update()
def raw(client, update, users, chats):
    print(update)


app.run()  # Automatically start() and idle()