diff --git a/docs/source/index.rst b/docs/source/index.rst index 414e47dd..c52e239b 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -44,8 +44,7 @@ Welcome to Pyrogram @app.on_message(Filters.private) def hello(client, message): - message.reply_text( - "Hello {}".format(message.from_user.first_name)) + message.reply("Hello {}".format(message.from_user.first_name)) app.run()