Class: TD::Types::StarTransactionPartner::User

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

Overview

The transaction is a gift of Telegram Stars from another user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#stickerTD::Types::Sticker?

A sticker to be shown in the transaction information; may be null if unknown.

Returns:



7
8
9
# File 'lib/tdlib/types/star_transaction_partner/user.rb', line 7

def sticker
  @sticker
end

#user_idInteger

Identifier of the user; 0 if the gift was anonymous.

Returns:

  • (Integer)

    the current value of user_id



7
8
9
# File 'lib/tdlib/types/star_transaction_partner/user.rb', line 7

def user_id
  @user_id
end