mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update handler_backends.py
This commit is contained in:
parent
2df6f00ba5
commit
967b94b14f
@ -151,6 +151,8 @@ class StateMachine:
|
|||||||
def add_state(self, chat_id, state):
|
def add_state(self, chat_id, state):
|
||||||
"""
|
"""
|
||||||
Add a state.
|
Add a state.
|
||||||
|
:param chat_id:
|
||||||
|
:param state: new state
|
||||||
"""
|
"""
|
||||||
if chat_id in self._states:
|
if chat_id in self._states:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user