Storages for FSM

You can create you own storage by extending aiogram.dispatcher.storage.BaseStorage or use default storages:

Simple in-memory storage

class aiogram.contrib.fsm_storage.memory.MemoryStorage[исходный код]
Базовые классы: aiogram.dispatcher.storage.BaseStorage

In-memory based states storage.

This type of storage is not recommended for usage in bots, because you will lost all states after restarting.

Redis storage