Skip to content

MessagePaymentRefunded

Type · TDLib 1.8.67 · d1085f9c

A payment has been refunded

MessagePaymentRefunded(
  owner_id: MessageSender,
  currency: string,
  total_amount: int53,
  invoice_payload: bytes,
  telegram_payment_charge_id: string,
  provider_payment_charge_id: string
) → MessageContent

owner_id

MessageSender

Identifier of the previous owner of the Telegram Stars that refunds them

currency

string

Currency for the price of the product

total_amount

int53

Total price for the product, in the smallest units of the currency

invoice_payload

bytes

Invoice payload; only for bots

telegram_payment_charge_id

string

Telegram payment identifier

provider_payment_charge_id

string

Provider payment identifier