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

Updated docstrings for ContinueHandling

This commit is contained in:
_run 2022-10-11 19:15:38 +04:00 committed by GitHub
parent 81f090cce6
commit c45af810f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,13 +118,13 @@ class ContinueHandling:
:caption: Example of using ContinueHandling :caption: Example of using ContinueHandling
@bot.message_handler(commands=['start']) @bot.message_handler(commands=['start'])
def start(message): async def start(message):
bot.send_message(message.chat.id, 'Hello World!') await bot.send_message(message.chat.id, 'Hello World!')
return ContinueHandling() return ContinueHandling()
@bot.message_handler(commands=['start']) @bot.message_handler(commands=['start'])
def start2(message): async def start2(message):
bot.send_message(message.chat.id, 'Hello World2!') await bot.send_message(message.chat.id, 'Hello World2!')
""" """
def __init__(self) -> None: def __init__(self) -> None: