Current section
Files
Jump to
Current section
Files
include/telega@dialog@engine_CompiledDialog.hrl
-record(compiled_dialog, {
id :: binary(),
windows :: gleam@dict:dict(binary(), telega@dialog@types:window(binary(), any(), any(), any())),
initial :: binary(),
initial_encoded :: fun(() -> binary()),
on_done :: gleam@option:option(fun((binary(), telega@bot:context(any(), any(), any())) -> {ok,
telega@bot:context(any(), any(), any())} |
{error, any()})),
subs :: gleam@dict:dict(binary(), telega@dialog@engine:compiled_sub()),
storage :: telega@flow@types:flow_storage(any()),
ttl_ms :: gleam@option:option(integer()),
labels :: fun((telega@bot:context(any(), any(), any())) -> telega@dialog@types:labels())
}).