Jido.Chat.Telegram.FileOptions (Jido Chat Telegram v1.2.1)

Copy Markdown View Source

Typed options for Telegram file resolution and downloads.

Summary

Functions

Builds typed file options from keyword, map, or struct input.

Returns the Zoi schema for FileOptions.

Builds transport-level options consumed by ExGramClient.

Types

t()

@type t() :: %Jido.Chat.Telegram.FileOptions{
  adapter_opts: nil | nil | any(),
  check_params: nil | nil | boolean(),
  debug: nil | nil | boolean(),
  ex_gram_adapter: nil | nil | any(),
  ex_gram_module: nil | nil | any(),
  http_client: any(),
  request_opts: [{atom(), any()}],
  token: nil | nil | binary(),
  transport: any(),
  url: nil | nil | binary()
}

Functions

new(opts)

Builds typed file options from keyword, map, or struct input.

schema()

Returns the Zoi schema for FileOptions.

transport_opts(opts)

@spec transport_opts(t()) :: keyword()

Builds transport-level options consumed by ExGramClient.