Current section
Files
Jump to
Current section
Files
include/telega@flow_StepConfig.hrl
-record(step_config, {
handler :: fun((telega@bot:context(any(), any()), telega@flow:flow_instance()) -> {ok,
{telega@bot:context(any(), any()),
telega@flow:flow_action(any()),
telega@flow:flow_instance()}} |
{error, any()}),
middlewares :: list(fun((telega@bot:context(any(), any()), telega@flow:flow_instance(), fun(() -> {ok,
{telega@bot:context(any(), any()),
telega@flow:flow_action(any()),
telega@flow:flow_instance()}} |
{error, any()})) -> {ok,
{telega@bot:context(any(), any()),
telega@flow:flow_action(any()),
telega@flow:flow_instance()}} |
{error, any()}))
}).