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)
Parameters | Description | Type | Required |
---|---|---|---|
message | the message that you want to send to the user | String | true |
conversationId | conversationId | String | True |
Response
This method provides no response