2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-10 11:15:27 +00:00

Update examples

This commit is contained in:
Dan
2018-04-14 18:46:54 +02:00
parent 4965e0b4f8
commit b5a78ed1d4
13 changed files with 80 additions and 248 deletions

View File

@@ -0,0 +1,14 @@
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()