Sha256: af755abf2d9fa54b9c1418f57cf2a5724302b488dd1b144dab9b743f04840b1c

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.18.0 lib/telegram/bot/types/input_invoice_message_content.rb