Package org.drinkless.tdlib
Class TdApi.UpgradedGiftOriginalDetails
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftOriginalDetails
- Enclosing class:
- TdApi
Describes the original details about the gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when the gift was sent.Identifier of the user or the chat that received the gift.Identifier of the user or the chat that sent the gift; may be null if the gift was private.Message added to the gift. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes the original details about the gift.UpgradedGiftOriginalDetails
(TdApi.MessageSender senderId, TdApi.MessageSender receiverId, TdApi.FormattedText text, int date) Describes the original details about the gift. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
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
public int datePoint in time (Unix timestamp) when the gift was sent. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-