Telegex.Model.InputInvoiceMessageContent (Telegex v0.1.8) View Source
Link to this section Summary
Functions
Convert map data to Elixir.Telegex.Model.InputInvoiceMessageContent.
Unlike Kernel.struct/2, this function will convert nested struct fields together.
Link to this section Types
Specs
t() :: %Telegex.Model.InputInvoiceMessageContent{
currency: String.t(),
description: String.t(),
is_flexible: boolean() | nil,
max_tip_amount: integer() | nil,
need_email: boolean() | nil,
need_name: boolean() | nil,
need_phone_number: boolean() | nil,
need_shipping_address: boolean() | nil,
payload: String.t(),
photo_height: integer() | nil,
photo_size: integer() | nil,
photo_url: String.t() | nil,
photo_width: integer() | nil,
prices: [Telegex.Model.LabeledPrice.t()],
provider_data: String.t() | nil,
provider_token: String.t(),
send_email_to_provider: boolean() | nil,
send_phone_number_to_provider: boolean() | nil,
suggested_tip_amounts: [integer()] | nil,
title: String.t()
}
Link to this section Functions
Convert map data to Elixir.Telegex.Model.InputInvoiceMessageContent.
Unlike Kernel.struct/2, this function will convert nested struct fields together.