Fix echobot.py Example (#2448)

This commit is contained in:
Harshil 2021-03-29 13:16:22 +04:00 committed by GitHub
parent 43f5aeaff3
commit 7abacb000b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ def start(update: Update, _: CallbackContext) -> None:
"""Send a message when the command /start is issued.""" """Send a message when the command /start is issued."""
user = update.effective_user user = update.effective_user
update.message.reply_markdown_v2( update.message.reply_markdown_v2(
f'Hi {user.mention_markdown_v2()}!', f'Hi {user.mention_markdown_v2()}\!',
reply_markup=ForceReply(selective=True), reply_markup=ForceReply(selective=True),
) )