mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
Fix for issue #81
This commit is contained in:
parent
dd498ded00
commit
0f8f6584ce
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ def echo(bot):
|
||||||
chat_id = update.message.chat_id
|
chat_id = update.message.chat_id
|
||||||
reply_text = update.message.text
|
reply_text = update.message.text
|
||||||
|
|
||||||
if (reply_text):
|
if reply_text:
|
||||||
# Reply the message
|
# Reply the message
|
||||||
bot.sendMessage(chat_id=chat_id,
|
bot.sendMessage(chat_id=chat_id,
|
||||||
text=reply_text)
|
text=reply_text)
|
||||||
|
|
Loading…
Reference in a new issue