Current section

Files

Jump to
telega include telega@client_TelegramClient.hrl
Raw

include/telega@client_TelegramClient.hrl

-record(telegram_client, {
token :: binary(),
max_retry_attempts :: integer(),
tg_api_url :: binary(),
fetch_client :: fun((gleam@http@request:request(binary())) -> {ok,
gleam@http@response:response(binary())} |
{error, telega@error:telega_error()}),
request_queue :: gleam@option:option(telega@internal@request_queue:request_queue())
}).