Skip to main content

sendPrivateMessage(message, conversationId);

Call this method to send a Private message 1-1 to a user. The private 1-1 message can only be send when 1-1 private chat is enabled in the chat room.

JavaScript

sdk.sendPrivateMessage(message, conversationId);

sendMessage(message, conversationId)

ParametersDescriptionTypeRequired
messagethe message that you want to send to the userStringtrue
conversationIdconversationIdStringTrue

Response

This method provides no response