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

Merge pull request #196 from auveele/patch-1

Update README.md
This commit is contained in:
FrankWang 2016-06-15 20:03:22 +08:00 committed by GitHub
commit a4ac83aec2

View File

@ -451,7 +451,7 @@ The TeleBot constructor takes the following optional arguments:
As an alternative to the message handlers, one can also register a function as a listener to TeleBot. Example:
```python
def handle_messages(messages):
for message in messsages:
for message in messages:
# Do something with the message
bot.reply_to(message, 'Hi')