# sendCommand

Description: Send a text message to a user.

The command is used only in video calls and conferences. Unlike sendMessage the message will not be displayed in the chat.

Request example:

{
    "method" : "sendCommand",
    "requestId" : "1",
    "peerId" : "user@some.server/InstancePart",
    "command" : "turn on"
}

Response example:

{
    "method" : "sendCommand",
    "requestId" : "1",
    "result" : true
}

Parameter description:

See also: