messages.ExportChatInvite#
- class pyrogram.raw.functions.messages.ExportChatInvite#
Export an invite link for a chat
- Details:
Layer:
198
ID:
A455DE90
- Parameters:
peer (
InputPeer
) – Chatlegacy_revoke_permanent (
bool
, optional) – 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.request_needed (
bool
, optional) – Whether admin confirmation is required before admitting each separate user into the chatexpire_date (
int
32-bit
, optional) – Expiration dateusage_limit (
int
32-bit
, optional) – Maximum number of users that can join using this linktitle (
str
, optional) – Description of the invite link, visible only to administratorssubscription_pricing (
StarsSubscriptionPricing
, optional) – For Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel.
- Returns: