Class: TD::Types::ChatRevenueTransactionType::Withdrawal

Inherits:
TD::Types::ChatRevenueTransactionType show all
Defined in:
lib/tdlib/types/chat_revenue_transaction_type/withdrawal.rb

Overview

Describes a withdrawal of earnings.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#providerTD::Types::String

Name of the payment provider.

Returns:

  • (TD::Types::String)

    the current value of provider



7
8
9
# File 'lib/tdlib/types/chat_revenue_transaction_type/withdrawal.rb', line 7

def provider
  @provider
end

#stateTD::Types::RevenueWithdrawalState

State of the withdrawal.

Returns:



7
8
9
# File 'lib/tdlib/types/chat_revenue_transaction_type/withdrawal.rb', line 7

def state
  @state
end

#withdrawal_dateInteger

Point in time (Unix timestamp) when the earnings withdrawal started.

Returns:

  • (Integer)

    the current value of withdrawal_date



7
8
9
# File 'lib/tdlib/types/chat_revenue_transaction_type/withdrawal.rb', line 7

def withdrawal_date
  @withdrawal_date
end