2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 06:16:06 +00:00

Put example descriptions at the very top of the files

This commit is contained in:
Dan
2018-10-09 15:23:40 +02:00
parent fd306c383d
commit be7194f89e
10 changed files with 29 additions and 28 deletions

View File

@@ -1,11 +1,11 @@
from pyrogram import Client, Filters
"""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 reply to private text messages only.
"""
from pyrogram import Client, Filters
app = Client("my_account")