Class TdApi.StarTransactionPartnerUser

Enclosing class:
TdApi

public static class TdApi.StarTransactionPartnerUser extends TdApi.StarTransactionPartner
The transaction is a gift of Telegram Stars from another user.
  • Field Details

    • userId

      public long userId
      Identifier of the user; 0 if the gift was anonymous.
    • sticker

      public TdApi.Sticker sticker
      A 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

    • StarTransactionPartnerUser

      public StarTransactionPartnerUser()
      The transaction is a gift of Telegram Stars from another user.
    • StarTransactionPartnerUser

      public StarTransactionPartnerUser(long userId, TdApi.Sticker sticker)
      The transaction is a gift of Telegram Stars from another user.
      Parameters:
      userId - Identifier of the user; 0 if the gift was anonymous.
      sticker - A 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