You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -443,9 +443,9 @@ for text in splitted_text:
443
443
### Controlling the amount of Threads used by TeleBot
444
444
The TeleBot constructor takes the following optional arguments:
445
445
446
-
-create_threads: True/False (default True). A flag to indicate whether
446
+
-threaded: True/False (default True). A flag to indicate whether
447
447
TeleBot should execute message handlers on it's polling Thread.
448
-
- num_threads: integer (default 4). Controls the amount of WorkerThreads created for the internal thread pool that TeleBot uses to execute message handlers. Is not used when create_threads is False.
448
+
- num_threads: integer (default 4). Controls the amount of WorkerThreads created for the internal thread pool that TeleBot uses to execute message handlers. Is not used when threaded is False.
449
449
450
450
### The listener mechanism
451
451
As an alternative to the message handlers, one can also register a function as a listener to TeleBot. Example:
0 commit comments