Sha256: eaceef6e8584355a2819b385c6167ac09561b06b8b061c9ee38dcce9ab1152f0

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class AffiliateInfo < Base
        attribute? :affiliate_user, User
        attribute? :affiliate_chat, Chat
        attribute :commission_per_mille, Types::Integer
        attribute :amount, Types::Integer
        attribute? :nanostar_amount, 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/affiliate_info.rb