# 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). Applicability:

    • PeerId - supported. Inside the application, it is automatically converted to CallId and the command is then executed with it.

    • CallId - supported. The command is executed for the specified identifier.

    • InstanceId - not supported

  • message — Message

  • requestId - a unique request identifier. You can learn more about it here.

See also: