messages.ExportChatInvite¶
- class hydrogram.raw.functions.messages.ExportChatInvite[source]¶
Export an invite link for a chat
- Details:
Layer:
181ID:
A02CE5D5
- 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 (
int32-bit, optional) – Expiration dateusage_limit (
int32-bit, optional) – Maximum number of users that can join using this linktitle (
str, optional) – Description of the invite link, visible only to administrators
- Returns: