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:
parent
81f090cce6
commit
c45af810f9
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user