Building your application
Replying and Reacting to messages
Learn how to reply and react to messages using the Wapi.go SDK
Replying to Messages
You can reply to a messsage via event listerner handler.
Reacting to Messages
There are mainly two ways you can react to a message:
Via Incoming Message Event
You can listen to incoming messages and reply to them using the on
method available on the client event. Here is an example of how you can listen to incoming messages and react to them:
Via Sending a Reaction message
You can also send a message of type Reaction
to a message. Here is an example of how you can send a reaction a message: