How to handle reactions #704
Closed
ivan-buriak
started this conversation in
Examples
Replies: 1 comment
-
$bot = new Nutgram('xxxx');
$bot->onMessageReaction(function(Nutgram $bot){
$reaction = $bot->messageReaction();
$bot->sendMessage('You reacted with: '.$reaction->new_reaction[0]->emoji);
});
$bot->run(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could you please provide any example how to use onMessageReaction handler, cannot find anything about it in Docs
Many Thanx!
Beta Was this translation helpful? Give feedback.
All reactions