Class: TD::Types::PaymentReceiptType::Stars

Inherits:
TD::Types::PaymentReceiptType show all
Defined in:
lib/tdlib/types/payment_receipt_type/stars.rb

Overview

The payment was done using Telegram Stars.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#star_countInteger

Number of Telegram Stars that were paid.

Returns:

  • (Integer)

    the current value of star_count



6
7
8
# File 'lib/tdlib/types/payment_receipt_type/stars.rb', line 6

def star_count
  @star_count
end

#transaction_idTD::Types::String

Unique identifier of the transaction that can be used to dispute it.

Returns:

  • (TD::Types::String)

    the current value of transaction_id



6
7
8
# File 'lib/tdlib/types/payment_receipt_type/stars.rb', line 6

def transaction_id
  @transaction_id
end