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

Fix parameter name to fit

This commit is contained in:
_run
2022-01-24 21:28:10 +04:00
parent 8045ad56ea
commit 91d0877c61
2 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,8 @@ from telebot.asyncio_storage import StateRedisStorage,StateMemoryStorage,StatePi
# new feature for states.
from telebot.asyncio_handler_backends import State, StatesGroup
bot = AsyncTeleBot('TOKEN')
# default state storage is statememorystorage
bot = AsyncTeleBot('TOKEN', states_storage=StateMemoryStorage())
# Just create different statesgroup