Class TdApi.UpgradedGiftOriginalDetails

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftOriginalDetails
Enclosing class:
TdApi

public static class TdApi.UpgradedGiftOriginalDetails extends TdApi.Object
Describes the original details about the gift.
  • Field Details

    • senderId

      public TdApi.MessageSender senderId
      Identifier of the user or the chat that sent the gift; may be null if the gift was private.
    • receiverId

      public TdApi.MessageSender receiverId
      Identifier of the user or the chat that received the gift.
    • text

      public TdApi.FormattedText text
      Message added to the gift.
    • date

      public int date
      Point in time (Unix timestamp) when the gift was sent.
    • CONSTRUCTOR

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

    • UpgradedGiftOriginalDetails

      public UpgradedGiftOriginalDetails()
      Describes the original details about the gift.
    • UpgradedGiftOriginalDetails

      public UpgradedGiftOriginalDetails(TdApi.MessageSender senderId, TdApi.MessageSender receiverId, TdApi.FormattedText text, int date)
      Describes the original details about the gift.
      Parameters:
      senderId - Identifier of the user or the chat that sent the gift; may be null if the gift was private.
      receiverId - Identifier of the user or the chat that received the gift.
      text - Message added to the gift.
      date - Point in time (Unix timestamp) when the gift was sent.
  • 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