payments.refundStarsCharge
Remboursez une transaction Telegram Stars, voir ici » pour plus d'informations.
Remboursez une transaction [Telegram Stars](https://core.telegram.org/api/stars.md), voir [ici »](https://core.telegram.org/api/payments.md#6-refunds) pour plus d'informations.
| Nom | Tapez | Obligatoire | Descriptif |
|---|---|---|---|
user_id | InputUser | Oui | Utilisateur à rembourser. |
charge_id | string | Oui | Identifiant de transaction. |
Réponses
Updates
MTProto RPC
- 400 · CHARGE_ALREADY_REFUNDED — La transaction a déjà été remboursée.
- 400 · CHARGE_ID_EMPTY — Le charge_id spécifié est vide.
- 400 · USER_BOT_REQUIRED — Cette méthode ne peut être appelée que par un bot.
- 400 · USER_ID_INVALID — L'ID utilisateur fourni n'est pas valide.