Package org.drinkless.tdlib
Class TdApi.StarTransactionTypeBotPaidMediaPurchase
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeBotPaidMediaPurchase
- Enclosing class:
- TdApi
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The bought media if the transaction wasn't refunded.long
Identifier of the bot or the business account user that sent the paid media. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.StarTransactionTypeBotPaidMediaPurchase
(long userId, TdApi.PaidMedia[] media) The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only. -
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
-
userId
public long userIdIdentifier of the bot or the business account user that sent the paid media. -
media
The bought media if the transaction wasn't refunded. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarTransactionTypeBotPaidMediaPurchase
public StarTransactionTypeBotPaidMediaPurchase()The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only. -
StarTransactionTypeBotPaidMediaPurchase
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.- Parameters:
userId
- Identifier of the bot or the business account user that sent the paid media.media
- The bought media if the transaction wasn't refunded.
-
-
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
-