Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02c0a75

Browse files
committed
fix create_references in webhook handler
1 parent 6696a15 commit 02c0a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/utils/webhookhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def do_POST(self):
8484
self.logger.debug('Webhook received data: ' + json_string)
8585

8686
update_dict = json.loads(json_string)
87-
self.server.create_references(update_dict)
87+
self.server.bot.create_references(update_dict)
8888
update = Update.de_json(update_dict)
8989

9090
self.logger.debug('Received Update with ID %d on Webhook' % update.update_id)

0 commit comments

Comments
 (0)