Link Search Menu Expand Document

Method: messages.reportReaction

Back to methods index

Report a message reaction

Parameters:

NameTypeDescriptionRequired
peerUsername, chat ID, Update, Message or InputPeerPeer where the message was sentOptional
idintMessage IDOptional
reaction_peerUsername, chat ID, Update, Message or InputPeerPeer that sent the reactionOptional

Return type: Bool

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->reportReaction(peer: $InputPeer, id: $int, reaction_peer: $InputPeer, );