messages.editExportedChatInvite

Edit an exported chat invite

 Method schema is available as of layer 134. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
revoked flags.2?true Whether to revoke the chat invite
peer InputPeer Chat
link string Invite link
expire_date flags.0?int New expiration date
usage_limit flags.1?int Maximum number of users that can join using this link
request_needed flags.3?Bool Whether admin confirmation is required before admitting each separate user into the chat
title flags.4?string Description of the invite link, visible only to administrators

Result

messages.ExportedChatInvite

Possible errors

Code Type Description
403 EDIT_BOT_INVITE_FORBIDDEN Normal users can't edit invites that were created by bots.
400 PEER_ID_INVALID The provided peer id is invalid.

Bots can use this method

Наверх