class TelegramBot::InputInvoiceMessageContent

Included Modules

Defined in:

telegram_bot/types/input_invoice_message_content.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InputMessageContent

to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(title : String, description : String, payload : String, currency : String, prices : Array(LabeledPrice), *, provider_token : String | Nil = nil, max_tip_amount : Int32 | Nil = nil, suggested_tip_amounts : Array(Int32) | Nil = nil, provider_data : String | Nil = nil, photo_url : String | Nil = nil, photo_size : Int32 | Nil = nil, photo_width : Int32 | Nil = nil, photo_height : Int32 | 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) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def currency : String #

def currency=(currency : String) #

def description : String #

def description=(description : String) #

def is_flexible=(is_flexible : Bool | Nil) #

def is_flexible? : Bool | Nil #

def max_tip_amount : Int32 | Nil #

def max_tip_amount=(max_tip_amount : Int32 | Nil) #

def need_email=(need_email : Bool | Nil) #

def need_email? : Bool | Nil #

def need_name=(need_name : Bool | Nil) #

def need_name? : Bool | Nil #

def need_phone_number=(need_phone_number : Bool | Nil) #

def need_phone_number? : Bool | Nil #

def need_shipping_address=(need_shipping_address : Bool | Nil) #

def need_shipping_address? : Bool | Nil #

def payload : String #

def payload=(payload : String) #

def photo_height : Int32 | Nil #

def photo_height=(photo_height : Int32 | Nil) #

def photo_size : Int32 | Nil #

def photo_size=(photo_size : Int32 | Nil) #

def photo_url : String | Nil #

def photo_url=(photo_url : String | Nil) #

def photo_width : Int32 | Nil #

def photo_width=(photo_width : Int32 | Nil) #

def prices : Array(LabeledPrice) #

def prices=(prices : Array(LabeledPrice)) #

def provider_data : String | Nil #

def provider_data=(provider_data : String | Nil) #

def provider_token : String | Nil #

def provider_token=(provider_token : String | Nil) #

def send_email_to_provider=(send_email_to_provider : Bool | Nil) #

def send_email_to_provider? : Bool | Nil #

def send_phone_number_to_provider=(send_phone_number_to_provider : Bool | Nil) #

def send_phone_number_to_provider? : Bool | Nil #

def suggested_tip_amounts : Array(Int32) | Nil #

def suggested_tip_amounts=(suggested_tip_amounts : Array(Int32) | Nil) #

def title : String #

def title=(title : String) #