Class TdApi.StarTransactionPartnerUser
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.StarTransactionPartner
dev.voroby.springframework.telegram.client.TdApi.StarTransactionPartnerUser
- Enclosing class:
- TdApi
The transaction is a gift of Telegram Stars from another user.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.A sticker to be shown in the transaction information; may be null if unknown.long
Identifier of the user; 0 if the gift was anonymous. -
Constructor Summary
ConstructorDescriptionThe transaction is a gift of Telegram Stars from another user.StarTransactionPartnerUser
(long userId, TdApi.Sticker sticker) The transaction is a gift of Telegram Stars from another user. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
userId
public long userIdIdentifier of the user; 0 if the gift was anonymous. -
sticker
A sticker to be shown in the transaction information; may be null if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionPartnerUser
public StarTransactionPartnerUser()The transaction is a gift of Telegram Stars from another user. -
StarTransactionPartnerUser
The transaction is a gift of Telegram Stars from another user.- Parameters:
userId
- Identifier of the user; 0 if the gift was anonymous.sticker
- A sticker to be shown in the transaction information; may be null if unknown.
-
-
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
-