Class TdApi.UpgradedGiftOriginResale

Enclosing class:
TdApi

public static class TdApi.UpgradedGiftOriginResale extends TdApi.UpgradedGiftOrigin
The gift was bought from another user.
  • Field Details

    • starCount

      public long starCount
      Number of Telegram Stars that were paid by the sender for the gift.
    • CONSTRUCTOR

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

    • UpgradedGiftOriginResale

      public UpgradedGiftOriginResale()
      The gift was bought from another user.
    • UpgradedGiftOriginResale

      public UpgradedGiftOriginResale(long starCount)
      The gift was bought from another user.
      Parameters:
      starCount - Number of Telegram Stars that were paid by the sender for the gift.
  • 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