mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
14 lines
213 B
Python
14 lines
213 B
Python
from pyrogram import Client
|
|
|
|
"""This example shows how to handle raw updates"""
|
|
|
|
app = Client("my_account")
|
|
|
|
|
|
@app.on_raw_update()
|
|
def raw(client, update, users, chats):
|
|
print(update)
|
|
|
|
|
|
app.start()
|
|
app.idle()
|