Link Search Menu Expand Document

Method: messages.updateSavedReactionTag

Back to methods index

Update the description of a saved message tag ».

Parameters:

NameTypeDescriptionRequired
reactionReactionReaction associated to the tagOptional
titlestringTag description, max 12 UTF-8 characters; to remove the description call the method without setting this flag.Optional

Return type: Bool

Can userbots use this method: YES

Can bots use this method: NO

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

if (!file_exists('madeline.php')) {
    copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';

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

$Bool = $MadelineProto->messages->updateSavedReactionTag(reaction: $Reaction, title: 'string', );