struct

Telegram::InputInvoiceMessageContent

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: InputInvoiceMessageContent Represents the content of an invoice message to be sent as the result of an inline query.

Constructors

new(title : String, description : String, payload : String, currency : String, prices : Array(LabeledPrice), provider_token : String | Nil = nil, max_tip_amount : Int64 | Nil = nil, suggested_tip_amounts : Array(Int64) | Nil = nil, provider_data : String | Nil = nil, photo_url : String | Nil = nil, photo_size : Int64 | Nil = nil, photo_width : Int64 | Nil = nil, photo_height : Int64 | Nil = nil, need_name : Bool | Nil = nil, need_phone_number : Bool | Nil = nil, need_email : Bool | Nil = nil, need_shipping_address : Bool | Nil = nil, send_phone_number_to_provider : Bool | Nil = nil, send_email_to_provider : Bool | Nil = nil, is_flexible : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(title _title = @title, description _description = @description, payload _payload = @payload, currency _currency = @currency, prices _prices = @prices, provider_token _provider_token = @provider_token, max_tip_amount _max_tip_amount = @max_tip_amount, suggested_tip_amounts _suggested_tip_amounts = @suggested_tip_amounts, provider_data _provider_data = @provider_data, photo_url _photo_url = @photo_url, photo_size _photo_size = @photo_size, photo_width _photo_width = @photo_width, photo_height _photo_height = @photo_height, need_name _need_name = @need_name, need_phone_number _need_phone_number = @need_phone_number, need_email _need_email = @need_email, need_shipping_address _need_shipping_address = @need_shipping_address, send_phone_number_to_provider _send_phone_number_to_provider = @send_phone_number_to_provider, send_email_to_provider _send_email_to_provider = @send_email_to_provider, is_flexible _is_flexible = @is_flexible)
Source
currency
description
is_flexible
max_tip_amount
need_email
need_name
need_phone_number
need_shipping_address
payload
photo_height
photo_size
photo_url
photo_width
prices
provider_data
provider_token
send_email_to_provider
send_phone_number_to_provider
suggested_tip_amounts
title