Interface MessagePaymentSuccessfulBot

A payment has been received by the bot or the business account. Subtype of MessageContent.

interface MessagePaymentSuccessfulBot {
    @type: "messagePaymentSuccessfulBot";
    currency: string;
    invoice_payload: string;
    is_first_recurring?: boolean;
    is_recurring?: boolean;
    order_info: OrderInfo;
    provider_payment_charge_id: string;
    shipping_option_id: string;
    subscription_until_date: number;
    telegram_payment_charge_id: string;
    total_amount: number;
}

Properties

@type: "messagePaymentSuccessfulBot"
currency: string

Currency for price of the product.

invoice_payload: string

Invoice payload.

is_first_recurring?: boolean

True, if this is the first recurring payment.

is_recurring?: boolean

True, if this is a recurring payment.

order_info: OrderInfo

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

provider_payment_charge_id: string

Provider payment identifier.

shipping_option_id: string

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

subscription_until_date: number

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

telegram_payment_charge_id: string

Telegram payment identifier.

total_amount: number

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