Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eternnoir/pyTelegramBotAPI
/ stop_polling
Method
stop_polling
telebot/__init__.py:1372–1378 ·
view source on GitHub ↗
Stops polling. Does not accept any arguments.
(self)
Source
from the content-addressed store, hash-verified
1370
1371
1372
def
stop_polling(self):
1373
""
"
1374
Stops polling.
1375
1376
Does not accept any arguments.
1377
""
"
1378
self.__stop_polling.set()
1379
1380
1381
def
stop_bot(self):
Callers
1
stop_bot
Method · 0.95
Calls
1
set
Method · 0.45
Tested by
no test coverage detected