Current section

Files

Jump to
telega include telega_TelegaBuilder.hrl
Raw

include/telega_TelegaBuilder.hrl

-record(telega_builder, {
config :: telega@internal@config:config(),
handlers :: list(telega@bot:handler(any(), any())),
session_settings :: gleam@option:option(telega@bot:session_settings(any(), any())),
bot_subject :: gleam@option:option(gleam@erlang@process:subject(telega@bot:bot_message())),
catch_handler :: gleam@option:option(fun((telega@bot:context(any(), any()), any()) -> {ok,
nil} |
{error, any()})),
drop_pending_updates :: gleam@option:option(boolean()),
max_connections :: gleam@option:option(integer()),
ip_address :: gleam@option:option(binary()),
allowed_updates :: gleam@option:option(list(binary())),
certificate :: gleam@option:option(telega@model:file())
}).