Telegex v0.1.2 Telegex.Model.InlineQueryResultPhoto View Source

Link to this section Summary

Functions

Convert map data to Elixir.Telegex.Model.InlineQueryResultPhoto. Unlike struct/2, this function will convert nested struct fields together.

Link to this section Types

Specs

t() :: %Telegex.Model.InlineQueryResultPhoto{
  caption: String.t() | nil,
  description: String.t() | nil,
  id: String.t(),
  input_message_content: Telegex.Model.InputMessageContent.t() | nil,
  parse_mode: String.t() | nil,
  photo_height: integer() | nil,
  photo_url: String.t(),
  photo_width: integer() | nil,
  reply_markup: Telegex.Model.InlineKeyboardMarkup.t() | nil,
  thumb_url: String.t(),
  title: String.t() | nil,
  type: String.t()
}

Link to this section Functions

Convert map data to Elixir.Telegex.Model.InlineQueryResultPhoto. Unlike struct/2, this function will convert nested struct fields together.