likeChannelMessage(messageId, channelId, message);
Call this method to like to a Channel Message.
JavaScript
frame1.likeChannelMessage(messageId, channelId, reaction, action);
likeChannelMessage(messageId, channelId, reaction, action);
Parameters | Description | Type | Required |
---|---|---|---|
messageId | the id of the message that you want to like or react to | String | yes |
channelId | the id of the channel in which the message is present | String | yes |
reaction | the type of reaction (choose from one of the options) | String | yes |
action | liked or unliked | string | yes |
LikeReaction (Options)
"wave" | 👋 |
---|---|
"thumbs_up" | 👍 |
"clap" | 👏 |
"pray" | 🙏 |
"strong" | 💪 |
"celebrate" | 🎉 |
"heart" | 💚 |
Response
This method provides no response