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

Update README.md

This commit is contained in:
Nacho Soler 2016-06-15 13:30:57 +02:00 committed by GitHub
parent c7d2731559
commit 70fa5b405a

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')