public static class TdApi.RefundStarPayment extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
telegramPaymentChargeId
Telegram payment identifier.
|
long |
userId
Identifier of the user that did the payment.
|
| Constructor and Description |
|---|
RefundStarPayment()
Default constructor for a function, which refunds a previously done payment in Telegram Stars; for bots only.
|
RefundStarPayment(long userId,
java.lang.String telegramPaymentChargeId)
Creates a function, which refunds a previously done payment in Telegram Stars; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public java.lang.String telegramPaymentChargeId
public static final int CONSTRUCTOR
public RefundStarPayment()
Returns Ok
public RefundStarPayment(long userId,
java.lang.String telegramPaymentChargeId)
Returns Ok
userId - Identifier of the user that did the payment.telegramPaymentChargeId - Telegram payment identifier.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object