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)
Parameter | Description | Type |
---|---|---|
messageId | id of the message | String |
Response
This method provides no response