approveChannelMessage(messageId, channelId, message);
Call this method to approve to a Channel Message. This method is only used in case of pre-moderated chat, and can only be called by a moderator.
JavaScript
sdk.approveChannelMessage(messageId, channelId);
approveChannelMessage(messageId, channelId);​
Parameters | Description | Type | Required |
---|---|---|---|
messageId | the id of the message that you want to approve | String | yes |
channelId | the id of the channel in which the message is present | String | yes |
Response​
This method provides no response