Layer 220
method Users
messages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool;

Parameters

Name Type Description
Peer InputPeer Peer
Link string Invite link

Returns

Bool

Possible Errors

Code Type Description
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 INVITE_HASH_EXPIRED The invite link has expired.
400 INVITE_REVOKED_MISSING The specified invite link was already revoked or is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.

Gogram Example

// MessagesDeleteExportedChatInvite - positional arguments
result, err := client.MessagesDeleteExportedChatInvite(&tg.InputPeerUser{UserID: int64(123456789)}, "...")
if err != nil {
    // handle error
}
// result is *tg.Bool