mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +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,13 +53,13 @@ def echo(bot):
|
|||
chat_id = update.message.chat_id
|
||||
reply_text = update.message.text
|
||||
|
||||
if (reply_text):
|
||||
if reply_text:
|
||||
# Reply the message
|
||||
bot.sendMessage(chat_id=chat_id,
|
||||
text=reply_text)
|
||||
|
||||
# Updates global offset to get the new updates
|
||||
LAST_UPDATE_ID = update.update_id + 1
|
||||
# Updates global offset to get the new updates
|
||||
LAST_UPDATE_ID = update.update_id + 1
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue