Sha256: 000bd1bc2b3b60037abaebfcbb9fd32d8ac897b9c4b75785e320bc23c58ed96c
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 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? :affiliate, AffiliateInfo 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.2.0 | lib/telegram/bot/types/transaction_partner_user.rb |