Link Search Menu Expand Document

Method: chatlists.deleteExportedInvite

Back to methods index

Delete a previously created chat folder deep link ».


chatlistInputChatlistThe related folderYes
slugstringslug obtained from the chat folder deep link ».Optional

Return type: Bool

Can bots use this method: YES

MadelineProto Example (now async for huge speed and parallelism!):

if (!file_exists('madeline.php')) {
    copy('', 'madeline.php');
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');

$Bool = $MadelineProto->chatlists->deleteExportedInvite(chatlist: $InputChatlist, slug: 'string', );