Current section
Files
Jump to
Current section
Files
include/telega@flow@registry_FlowRegistry.hrl
-record(flow_registry, {
flows :: list({telega@flow@types:flow_trigger(),
telega@flow@types:flow(gleam@dynamic:dynamic_(), any(), any(), any()),
gleam@dict:dict(binary(), binary())}),
flow_map :: gleam@dict:dict(binary(), telega@flow@types:flow(gleam@dynamic:dynamic_(), any(), any(), any())),
callback_filters :: gleam@dict:dict(binary(), fun((binary()) -> boolean())),
orphan_callback_handlers :: list({fun((binary()) -> boolean()),
fun((telega@bot:context(any(), any(), any()), binary()) -> {ok,
telega@bot:context(any(), any(), any())} |
{error, any()})}),
cancel_commands :: list({binary(),
fun((telega@bot:context(any(), any(), any()), list(binary())) -> {ok,
telega@bot:context(any(), any(), any())} |
{error, any()})})
}).