1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fixed README.MD

Fixed a problem that could not jump to "Using web hooks" correctly
This commit is contained in:
Cykrt 2017-02-15 21:31:52 +08:00 committed by GitHub
parent 2b7e9a6180
commit 8129b95118

View File

@ -466,7 +466,7 @@ bot.set_update_listener(handle_messages)
bot.polling() bot.polling()
``` ```
### Using webhooks ### Using web hooks
When using webhooks telegram sends one Update per call, for processing it you should call process_new_messages([update.message]) when you recieve it. When using webhooks telegram sends one Update per call, for processing it you should call process_new_messages([update.message]) when you recieve it.
There are some examples using webhooks in the *examples/webhook_examples* directory. There are some examples using webhooks in the *examples/webhook_examples* directory.