sendCommand

TrueConf7/5/26Less than 1 minute

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.

void sendCommand(string peerId, string cmd)

Parameters

NameDescription
peerIdunique identifier of the user (TrueConf ID) to whom the command should be sent.
cmdMessage text.

Response example

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

Response Parameters

NameDescription
requestIdA unique request identifier
resultA flag indicating whether the request was successful

See also

Last Updated: