Skip to content

MessagePaymentSuccessful

Type · TDLib 1.8.67 · d1085f9c

A payment has been sent to a bot or a business account

MessagePaymentSuccessful(
  invoice_chat_id: int53,
  invoice_message_id: int53,
  currency: string,
  total_amount: int53,
  subscription_until_date: int32,
  is_recurring: Bool,
  is_first_recurring: Bool,
  invoice_name: string
) → MessageContent

invoice_chat_id

int53

Identifier of the chat, containing the corresponding invoice message

invoice_message_id

int53

Identifier of the message with the corresponding invoice; may be 0 or an identifier of a deleted message

currency

string

Currency for the 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_name

string

Name of the invoice; may be empty if unknown