Add support for message reaction event handling

This commit is contained in:
netkas 2024-11-02 00:22:25 -04:00
parent ada256566e
commit bcf23f3834
3 changed files with 38 additions and 0 deletions

View file

@ -131,6 +131,11 @@
return UpdateEventType::MESSAGE_REACTION_COUNT;
}
if($update->getMessageReaction() !== null)
{
return UpdateEventType::MESSAGE_REACTION;
}
return UpdateEventType::UPDATE_EVENT;
}
}