Telegex v0.1.3 Telegex.Model.PreCheckoutQuery View Source

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.PreCheckoutQuery{
  currency: String.t(),
  from: Telegex.Model.User.t(),
  id: String.t(),
  invoice_payload: String.t(),
  order_info: String.t() | nil,
  shipping_option_id: String.t() | nil,
  total_amount: integer()
}

Link to this section Functions

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