Skip to content

refundStarPayment

Function · TDLib 1.8.67 · d1085f9c

Refunds a previously done payment in Telegram Stars; for bots only

refundStarPayment(
  user_id: int53,
  telegram_payment_charge_id: string
) → Ok

user_id

int53

Identifier of the user who did the payment

telegram_payment_charge_id

string

Telegram payment identifier