Package org.drinkless.tdlib
Class TdApi.RefundStarPayment
- Enclosing class:
- TdApi
Refunds a previously done payment in Telegram Stars; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Telegram payment identifier.longIdentifier of the user that did the payment. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which refunds a previously done payment in Telegram Stars; for bots only.RefundStarPayment(long userId, String telegramPaymentChargeId) Creates a function, which refunds a previously done payment in Telegram Stars; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
userId
public long userIdIdentifier of the user that did the payment. -
telegramPaymentChargeId
Telegram payment identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
RefundStarPayment
public RefundStarPayment()Default constructor for a function, which refunds a previously done payment in Telegram Stars; for bots only.Returns
Ok -
RefundStarPayment
Creates a function, which refunds a previously done payment in Telegram Stars; for bots only.Returns
Ok- Parameters:
userId- Identifier of the user that did the payment.telegramPaymentChargeId- Telegram payment identifier.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-