-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()}), fetch_bits_client :: gleam@option:option(fun((gleam@http@request:request(bitstring())) -> {ok, gleam@http@response:response(bitstring())} | {error, telega@error:telega_error()})), request_queue :: gleam@option:option(telega@internal@request_queue:request_queue()) }).