From 25a09d1c9b281c2d1f617df1517eb24ccbab088b Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 23 Jun 2018 14:25:19 +0200 Subject: [PATCH] Update docs welcome example --- docs/source/index.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()