Class TdApi.UpgradedGiftOriginUpgrade

Enclosing class:
TdApi

public static class TdApi.UpgradedGiftOriginUpgrade extends TdApi.UpgradedGiftOrigin
The gift was obtained by upgrading of a previously received gift.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    long
    Identifier of the message with the regular gift that was upgraded; can be 0 or an identifier of a deleted message.
  • Constructor Summary

    Constructors
    Constructor
    Description
    The gift was obtained by upgrading of a previously received gift.
    UpgradedGiftOriginUpgrade(long giftMessageId)
    The gift was obtained by upgrading of a previously received gift.
  • 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

    • giftMessageId

      public long giftMessageId
      Identifier of the message with the regular gift that was upgraded; can be 0 or an identifier of a deleted message.
    • CONSTRUCTOR

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

    • UpgradedGiftOriginUpgrade

      public UpgradedGiftOriginUpgrade()
      The gift was obtained by upgrading of a previously received gift.
    • UpgradedGiftOriginUpgrade

      public UpgradedGiftOriginUpgrade(long giftMessageId)
      The gift was obtained by upgrading of a previously received gift.
      Parameters:
      giftMessageId - Identifier of the message with the regular gift that was upgraded; can be 0 or an identifier of a deleted message.
  • 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