telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface BotSubscriptionUpdated

    This object contains information about changes to a user payment subscription toward the current bot.

    interface BotSubscriptionUpdated {
        invoice_payload: string;
        state: string;
        user: User;
    }
    Index
    invoice_payload: string

    Bot-specified invoice payload.

    state: string

    The new state of the subscription.

    Currently, it can be one of "canceled" if the user canceled the subscription, "active" if the user re-enabled a previously canceled subscription, or "failed" if payment for the subscription failed.

    user: User

    User who subscribed for payments toward the bot.