Typed options for Telegram send_message/3.
Summary
Functions
Builds typed send options from keyword, map, or struct input.
Builds Telegram API payload options for sendMessage.
Builds Telegram API payload options for sendRichMessage.
Returns the Zoi schema for send options.
Builds transport-level options consumed by ExGramClient.
Types
@type t() :: %Jido.Chat.Telegram.SendOptions{ adapter_opts: nil | nil | any(), check_params: nil | nil | boolean(), debug: nil | nil | boolean(), disable_notification: nil | nil | boolean(), disable_web_page_preview: nil | nil | boolean(), entities: nil | nil | any(), ex_gram_adapter: nil | nil | any(), ex_gram_module: nil | nil | any(), link_preview_options: nil | nil | any(), parse_mode: nil | nil | binary(), protect_content: nil | nil | boolean(), reply_markup: nil | nil | any(), reply_to_message_id: nil | nil | any(), rich_format: nil | nil | :markdown | :html, thread_id: nil | nil | any(), token: nil | nil | binary(), transport: any(), url: nil | nil | binary() }
Functions
Builds typed send options from keyword, map, or struct input.
Builds Telegram API payload options for sendMessage.
Builds Telegram API payload options for sendRichMessage.
Rich messages carry their own formatting inside the rich_message payload, so
parse_mode, entities, and the link-preview options accepted by sendMessage
are not valid here and are dropped.
Returns the Zoi schema for send options.
Builds transport-level options consumed by ExGramClient.