Add support for message reaction event handling
This commit is contained in:
parent
ada256566e
commit
bcf23f3834
3 changed files with 38 additions and 0 deletions
|
@ -131,6 +131,11 @@
|
|||
return UpdateEventType::MESSAGE_REACTION_COUNT;
|
||||
}
|
||||
|
||||
if($update->getMessageReaction() !== null)
|
||||
{
|
||||
return UpdateEventType::MESSAGE_REACTION;
|
||||
}
|
||||
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue