payments.refundStarsCharge
Refund a Telegram Stars transaction, see here » for more info.
Refund a [Telegram Stars](https://core.telegram.org/api/stars.md) transaction, see [here »](https://core.telegram.org/api/payments.md#6-refunds) for more info.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
user_id | InputUser | はい | User to refund. |
charge_id | string | はい | トランザクションID。 |
レスポンス
Updates
MTProto RPC
- 400 · CHARGE_ALREADY_REFUNDED — The transaction was already refunded.
- 400 · CHARGE_ID_EMPTY — The specified charge_id is empty.
- 400 · USER_BOT_REQUIRED — This method can only be called by a bot.
- 400 · USER_ID_INVALID — The provided user ID is invalid.