Sha256: f7463bafffe8f32f8838020d117c6b3452c7048a39635dc0e031d2e8be303055

Contents?: true

Size: 445 Bytes

Versions: 6

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class PreCheckoutQuery < Base
        attribute :id, Types::String
        attribute :from, User
        attribute :currency, Types::String
        attribute :total_amount, Types::Integer
        attribute :invoice_payload, Types::String
        attribute? :shipping_option_id, Types::String
        attribute? :order_info, OrderInfo
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/pre_checkout_query.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/pre_checkout_query.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/pre_checkout_query.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/pre_checkout_query.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/pre_checkout_query.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/pre_checkout_query.rb