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; for regular users only.
  • 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; for regular users only.
    • StarTransactionTypeUserDeposit

      public StarTransactionTypeUserDeposit(long userId, TdApi.Sticker sticker)
      The transaction is a deposit of Telegram Stars by another user; 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