Sha256: 3678619d62e09860724239d40e5543baa1205fb4a50417d012924e303f5945d6

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class TransactionPartnerAffiliateProgram < Base
        attribute :type, Types::String.constrained(eql: 'affiliate_program').default('affiliate_program')
        attribute? :sponsor_user, User
        attribute :commission_per_mille, Types::Integer
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/transaction_partner_affiliate_program.rb