Sha256: 142b87377d78519115cfdb21ce56cdeedc21ecaabbf8d5bbbe847f1af896d078

Contents?: true

Size: 1018 Bytes

Versions: 8

Compression:

Stored size: 1018 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputInvoiceMessageContent < InputMessageContent
        attribute :title, String
        attribute :description, String
        attribute :payload, String
        attribute :provider_token, String
        attribute :currency, String
        attribute :prices, Array[LabeledPrice]
        attribute :max_tip_amount, Integer
        attribute :suggested_tip_amounts, Array[Integer]
        attribute :provider_data, String
        attribute :photo_url, String
        attribute :photo_size, Integer
        attribute :photo_width, Integer
        attribute :photo_height, Integer
        attribute :need_name, Boolean
        attribute :need_phone_number, Boolean
        attribute :need_email, Boolean
        attribute :need_shipping_address, Boolean
        attribute :send_phone_number_to_provider, Boolean
        attribute :send_email_to_provider, Boolean
        attribute :is_flexible, Boolean
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.23.0 lib/telegram/bot/types/input_invoice_message_content.rb
telegram-bot-ruby-0.22.0 lib/telegram/bot/types/input_invoice_message_content.rb
telegram-bot-ruby-0.21.1 lib/telegram/bot/types/input_invoice_message_content.rb
telegram-bot-ruby-0.21.0 lib/telegram/bot/types/input_invoice_message_content.rb
telegram-bot-ruby-0.20.0 lib/telegram/bot/types/input_invoice_message_content.rb
telegram-bot-ruby-0.19.2 lib/telegram/bot/types/input_invoice_message_content.rb
telegram-bot-ruby-0.19.1 lib/telegram/bot/types/input_invoice_message_content.rb
telegram-bot-ruby-0.19.0 lib/telegram/bot/types/input_invoice_message_content.rb