Skip to content

Commit 414e42a

Browse files
committed
Update README.md example
Use .reply_text() instead of .reply()
1 parent 46a03a2 commit 414e42a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ app = Client("my_account")
2828

2929
@app.on_message(Filters.private)
3030
def hello(client, message):
31-
message.reply("Hello {}".format(message.from_user.first_name))
31+
message.reply_text("Hello {}".format(message.from_user.first_name))
3232

3333

3434
app.run()

0 commit comments

Comments
 (0)