Class TdApi.PushMessageContentUpgradedGift

Enclosing class:
TdApi

public static class TdApi.PushMessageContentUpgradedGift extends TdApi.PushMessageContent
A message with an upgraded gift.
  • Field Details

    • isUpgrade

      public boolean isUpgrade
      True, if the gift was obtained by upgrading of a previously received gift; otherwise, this is a transferred or resold gift.
    • CONSTRUCTOR

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

    • PushMessageContentUpgradedGift

      public PushMessageContentUpgradedGift()
      A message with an upgraded gift.
    • PushMessageContentUpgradedGift

      public PushMessageContentUpgradedGift(boolean isUpgrade)
      A message with an upgraded gift.
      Parameters:
      isUpgrade - True, if the gift was obtained by upgrading of a previously received gift; otherwise, this is a transferred or resold 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