Skip to content

MessagePaymentSuccessfulBot

Type · TDLib 1.8.67 · d1085f9c

A payment has been received by the bot or the business account

MessagePaymentSuccessfulBot(
  currency: string,
  total_amount: int53,
  subscription_until_date: int32,
  is_recurring: Bool,
  is_first_recurring: Bool,
  invoice_payload: bytes,
  shipping_option_id: string,
  order_info: OrderInfo,
  telegram_payment_charge_id: string,
  provider_payment_charge_id: string
) → MessageContent

currency

string

Currency for price of the product

total_amount

int53

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

subscription_until_date

int32

Point in time (Unix timestamp) when the subscription will expire; 0 if unknown or the payment isn't recurring

is_recurring

Bool

True, if this is a recurring payment

is_first_recurring

Bool

True, if this is the first recurring payment

invoice_payload

bytes

Invoice payload

shipping_option_id

string

Identifier of the shipping option chosen by the user; may be empty if not applicable; for bots only

order_info

OrderInfo

Information about the order; may be null; for bots only

telegram_payment_charge_id

string

Telegram payment identifier

provider_payment_charge_id

string

Provider payment identifier