Class: TD::Types::StarTransactionPartner::Business

Inherits:
TD::Types::StarTransactionPartner show all
Defined in:
lib/tdlib/types/star_transaction_partner/business.rb

Overview

The transaction is a transaction with a business account.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#mediaArray<TD::Types::PaidMedia>

The bought media if the trancastion wasn’t refunded.

Returns:



6
7
8
# File 'lib/tdlib/types/star_transaction_partner/business.rb', line 6

def media
  @media
end

#user_idInteger

Identifier of the business account user.

Returns:

  • (Integer)

    the current value of user_id



6
7
8
# File 'lib/tdlib/types/star_transaction_partner/business.rb', line 6

def user_id
  @user_id
end