Skip to main content

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);

ParametersDescriptionTypeRequired
messageIdthe id of the message that you want to approveStringyes
channelIdthe id of the channel in which the message is presentStringyes

Response

This method provides no response