Skip to main content

approveMessage(messageId);

This method is used in pre-moderated chat. In pre-moderated chat, each message has to be approved my the moderator, with this method the moderators can approve the message to appear in the chat. This method can only be called by the moderators.

JavaScript

sdk.approveMessage(messageId);

approveMessage(messageId)

ParameterDescriptionType
messageIdid of the messageString

Response

This method provides no response