mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Update examples
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
from pyrogram import Client, Filters
|
||||
|
||||
"""This simple echo bot replies to every private text message"""
|
||||
"""This simple echo bot replies to every private text message.
|
||||
|
||||
It uses the @on_message decorator to register a MessageHandler
|
||||
and applies two filters on it, Filters.text and Filters.private to make
|
||||
sure it will only reply to private text messages.
|
||||
"""
|
||||
|
||||
app = Client("my_account")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user