Skip to main content

likeMessage(options);

Call this method to like/give a reaction to a message.

JavaScript
sdk.likeMessage(messageId, reaction, action);

likeMessage(messageId, reaction, action)

ParameterDescriptionType
messageIdid of the messageString
likeReactionLikeReactionString
likeActionliked or unlikedString

LikeReaction (Options)

"wave"👋
"thumbs_up"👍
"clap"👏
"pray"🙏
"strong"💪
"celebrate"🎉
"heart"💚

Example

In the example below we are providing a thumbs_up reaction to the a message with id: 63233015c3aa3508a4c8fc34

sdk.likeMessage("63233015c3aa3508a4c8fc34", "thumbs_up", "liked");

Response

This method provides no response