refund_star_payment()#
- Client.refund_star_payment()#
Refunds a successful payment in Telegram Stars.
Usable by Users Bots- Parameters:
user_id (
int
|str
) – Unique identifier (int) or username (str) of the target user, whose payment will be refunded.telegram_payment_charge_id (
str
) – Telegram payment identifier.
- Returns:
bool
– True on success