Refund a Telegram Stars transaction, see here » for more info.
Metod şeması 181 katmanından itibaren kullanılabilir. Geçiş Yap »
| Name | Type | Description |
|---|---|---|
| user_id | InputUser | User to refund. |
| charge_id | string | Transaction ID. |
| Code | Type | Description |
|---|---|---|
| 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. |
Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.
You can accept payments from Telegram users via Telegram Bots.