SarufiFileConfig extension
Adds .json / .yaml file loaders to Sarufi.
- on
Methods
-
createFromFile(
{String? intents, String? flow, String? metadata}) → Future< Bot> -
Available on Sarufi, provided by the SarufiFileConfig extension
Creates a bot from config files. -
updateFromFile(
{required int id, String? intents, String? flow, String? metadata}) → Future< Bot> -
Available on Sarufi, provided by the SarufiFileConfig extension
Updates the bot with the givenidfrom config files.