Use f-string in the main example

This commit is contained in:
Dan 2020-07-15 10:58:15 +02:00
parent 5261e9550e
commit 5a0a0b67bf

View File

@ -106,7 +106,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_text(f"Hello {message.from_user.first_name}")
app.run()