Target.sendMessageToTarget

Sends protocol message over session with given id.

{
  "name": "sendMessageToTarget",
  "description": "Sends protocol message over session with given id.",
  "parameters": [
    {
      "name": "message",
      "type": "string"
    },
    {
      "name": "sessionId",
      "$ref": "SessionID",
      "optional": true,
      "description": "Identifier of the session."
    },
    {
      "name": "targetId",
      "$ref": "TargetID",
      "optional": true,
      "deprecated": true,
      "description": "Deprecated."
    }
  ]
}