mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
update example
This commit is contained in:
parent
f59efe0f4b
commit
a55df8b5e1
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ def messageHandler(bot, update):
|
|||
bot.sendMessage(update.message.chat_id, text=update.message.text)
|
||||
|
||||
|
||||
def errorHandler(bot, error):
|
||||
print(str(error))
|
||||
def errorHandler(bot, update, error):
|
||||
print('Update %s caused error %s' % (update, error))
|
||||
|
||||
|
||||
def CLIReplyCommandHandler(bot, update):
|
||||
|
|
Loading…
Reference in a new issue