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

Merge pull request #1163 from yehwankim23/patch-1

Fix typo
This commit is contained in:
Badiboy
2021-05-20 12:07:34 +03:00
committed by GitHub

View File

@ -455,7 +455,7 @@ Refer [Bot Api](https://core.telegram.org/bots/api#messageentity) for extra deta
## Advanced use of the API ## Advanced use of the API
### Asynchronous delivery of messages ### Asynchronous delivery of messages
There exists an implementation of TeleBot which executes all `send_xyz` and the `get_me` functions asynchronously. This can speed up you bot __significantly__, but it has unwanted side effects if used without caution. There exists an implementation of TeleBot which executes all `send_xyz` and the `get_me` functions asynchronously. This can speed up your bot __significantly__, but it has unwanted side effects if used without caution.
To enable this behaviour, create an instance of AsyncTeleBot instead of TeleBot. To enable this behaviour, create an instance of AsyncTeleBot instead of TeleBot.
```python ```python
tb = telebot.AsyncTeleBot("TOKEN") tb = telebot.AsyncTeleBot("TOKEN")