teleproto - v1.229.0
    Preparing search index...

    Interface MessagesExportChatInviteParams

    interface MessagesExportChatInviteParams {
        expireDate?: number;
        legacyRevokePermanent?: boolean;
        peer: EntityLike;
        requestNeeded?: boolean;
        subscriptionPricing?: StarsSubscriptionPricingIn;
        title?: string;
        usageLimit?: number;
    }
    Index
    expireDate?: number

    Expiration date

    legacyRevokePermanent?: boolean

    Legacy flag, reproducing legacy behavior of this method: if set, revokes all previous links before creating a new one. Kept for bot API BC, should not be used by modern clients.

    peer: EntityLike

    Chat

    requestNeeded?: boolean

    Whether admin confirmation is required before admitting each separate user into the chat

    subscriptionPricing?: StarsSubscriptionPricingIn

    For Telegram Star subscriptions » , contains the pricing of the subscription the user must activate to join the private channel.

    title?: string

    Description of the invite link, visible only to administrators

    usageLimit?: number

    Maximum number of users that can join using this link