refund_stars_payment()

async Client.refund_stars_payment()

Refund the stars to the user.

Parameters:
  • user_id (int | str) – The user id to refund the stars.

  • telegram_payment_charge_id (str) – The charge id to refund the stars.

Returns:

bool – On success, a True is returned.

Example

await app.refund_stars_payment(user_id, telegram_payment_charge_id)