messages.deleteExportedChatInvite #

Delete a chat invite

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool;

Parameters #

NameTypeDescription
peerInputPeerPeer
linkstringInvite link

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400INVITE_HASH_EXPIREDThe invite link has expired.
400INVITE_REVOKED_MISSINGThe specified invite link was already revoked or is invalid.
400PEER_ID_INVALIDThe provided peer id is invalid.