D
D
Daniil Shevkunov2021-05-28 14:10:45
Python
Daniil Shevkunov, 2021-05-28 14:10:45

What types of storage does aiogram have?

I started studying aiogram, taught on this site: https://mastergroosha.github.io/telegram-tutorial-...

when creating a dispatcher, the storage key is used, and here RAM is used as storage. Such a question, what else can be used as storage, what value can be passed to storge?
dp = Dispatcher(bot, storage=MemoryStorage())

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Veremeenko, 2021-05-28
@danila763

  • _FileStorage
  • JSONStorage
  • PickleStorage
  • Mongo
  • redis
  • rethinkdb

Unfortunately I didn't find any examples :(

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question