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 | أيوه | معرف المعاملة. |
الردود
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.