Layer 220
method Users
messages.deleteRevokedExportedChatInvites#56987bd5 peer:InputPeer admin_id:InputUser = Bool;

Parameters

Name Type Description
Peer InputPeer Chat
AdminId InputUser ID of the admin that originally generated the revoked chat invites

Returns

Bool

Possible Errors

Code Type Description
400 ADMIN_ID_INVALID The specified admin ID is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.

Gogram Example

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