# sendMessage
Description: Send a message to a user.
Request example:
{
"method" : "sendMessage",
"requestId" : "1",
"peerId" : "user1@some.server",
"message" : "hello :)"
}
Response example:
{
"method" : "sendMessage",
"requestId" : "1",
"result" : true
}
Parameter description:
peerId
- unique user identifier (TrueConf ID). Application:PeerId - supported. It's automatically converted to CallId inside the application and the command is executed with it.
CallId - supported. The command is executed for the specified identifier.
InstanceId - not supported.
message
— MessagerequestId
- unique request identifier. More details can be found here
See also: