ConfigurationΒΆ
Raito constructorΒΆ
Raito(
dispatcher,
routers_dir,
*,
developers=None,
locales=None,
production=True,
enable_dangerous_commands=False,
configuration=None,
storage=None,
)
Parameter |
Meaning |
|---|---|
|
The aiogram |
|
Directory scanned for handler files. |
|
User IDs that implicitly hold the |
|
Locales for command registration (e.g. |
|
|
|
Allow |
|
A |
|
aiogram FSM storage; also selects the role backend. |
Pass a RaitoConfiguration object to customise
pagination styling and the router list appearance, or to plug in a custom role
manager. See the API reference for its fields.