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

Merge pull request #744 from FaeeLoL/master

Add missed colon in readme
This commit is contained in:
Badiboy 2020-02-14 16:48:44 +03:00 committed by GitHub
commit 8f32dec5dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ def test_message(message):
return message.document.mime_type == 'text/plain' return message.document.mime_type == 'text/plain'
@bot.message_handler(func=test_message, content_types=['document']) @bot.message_handler(func=test_message, content_types=['document'])
def handle_text_doc(message) def handle_text_doc(message):
pass pass
# Handlers can be stacked to create a function which will be called if either message_handler is eligible # Handlers can be stacked to create a function which will be called if either message_handler is eligible