Interface ChatInviteLinkSubscriptionInfo

Contains information about subscription plan that must be paid by the user to use a chat invite link.

interface ChatInviteLinkSubscriptionInfo {
    @type: "chatInviteLinkSubscriptionInfo";
    can_reuse?: boolean;
    form_id: string;
    pricing: StarSubscriptionPricing;
}

Properties

@type: "chatInviteLinkSubscriptionInfo"
can_reuse?: boolean

True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again.

form_id: string

Identifier of the payment form to use for subscription payment; 0 if the subscription can't be paid.

Information about subscription plan that must be paid by the user to use the link.