class
TelegramBot::InputInvoiceMessageContent
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/input_invoice_message_content.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #currency : String
- #currency=(currency : String)
- #description : String
- #description=(description : String)
- #is_flexible=(is_flexible : Bool | Nil)
- #is_flexible? : Bool | Nil
- #max_tip_amount : Int32 | Nil
- #max_tip_amount=(max_tip_amount : Int32 | Nil)
- #need_email=(need_email : Bool | Nil)
- #need_email? : Bool | Nil
- #need_name=(need_name : Bool | Nil)
- #need_name? : Bool | Nil
- #need_phone_number=(need_phone_number : Bool | Nil)
- #need_phone_number? : Bool | Nil
- #need_shipping_address=(need_shipping_address : Bool | Nil)
- #need_shipping_address? : Bool | Nil
- #payload : String
- #payload=(payload : String)
- #photo_height : Int32 | Nil
- #photo_height=(photo_height : Int32 | Nil)
- #photo_size : Int32 | Nil
- #photo_size=(photo_size : Int32 | Nil)
- #photo_url : String | Nil
- #photo_url=(photo_url : String | Nil)
- #photo_width : Int32 | Nil
- #photo_width=(photo_width : Int32 | Nil)
- #prices : Array(LabeledPrice)
- #prices=(prices : Array(LabeledPrice))
- #provider_data : String | Nil
- #provider_data=(provider_data : String | Nil)
- #provider_token : String | Nil
- #provider_token=(provider_token : String | Nil)
- #send_email_to_provider=(send_email_to_provider : Bool | Nil)
- #send_email_to_provider? : Bool | Nil
- #send_phone_number_to_provider=(send_phone_number_to_provider : Bool | Nil)
- #send_phone_number_to_provider? : Bool | Nil
- #suggested_tip_amounts : Array(Int32) | Nil
- #suggested_tip_amounts=(suggested_tip_amounts : Array(Int32) | Nil)
- #title : String
- #title=(title : String)
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)
#