Sha256: df37ea6570ee3379c724a53c3ffcebc8d5fb7e1f5bdf6d2616d7b32d8be383a1

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class TransactionPartnerUser < Base
        attribute :type, Types::String.constrained(eql: 'user').default('user')
        attribute :user, User
        attribute? :invoice_payload, Types::String
        attribute? :subscription_period, Types::Integer
        attribute? :paid_media, Types::Array.of(PaidMedia)
        attribute? :paid_media_payload, Types::String
        attribute? :gift, Gift
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/transaction_partner_user.rb