Class TdApi.StarTransactionTypeUserDeposit

Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeUserDeposit extends TdApi.StarTransactionType
The transaction is a deposit of Telegram Stars by another user; relevant for regular users only.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    The sticker to be shown in the transaction information; may be null if unknown.
    long
    Identifier of the user that gifted Telegram Stars; 0 if the user was anonymous.
  • Constructor Summary

    Constructors
    Constructor
    Description
    The transaction is a deposit of Telegram Stars by another user; relevant for regular users only.
    The transaction is a deposit of Telegram Stars by another user; relevant for regular users only.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • userId

      public long userId
      Identifier of the user that gifted Telegram Stars; 0 if the user was anonymous.
    • sticker

      public TdApi.Sticker sticker
      The sticker to be shown in the transaction information; may be null if unknown.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • StarTransactionTypeUserDeposit

      public StarTransactionTypeUserDeposit()
      The transaction is a deposit of Telegram Stars by another user; relevant for regular users only.
    • StarTransactionTypeUserDeposit

      public StarTransactionTypeUserDeposit(long userId, TdApi.Sticker sticker)
      The transaction is a deposit of Telegram Stars by another user; relevant for regular users only.
      Parameters:
      userId - Identifier of the user that gifted Telegram Stars; 0 if the user was anonymous.
      sticker - The sticker to be shown in the transaction information; may be null if unknown.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR