overwolf.windows.sendMessage
Overwolf APIs / overwolf / overwolf / windows / sendMessage
function sendMessage(
windowId: string,
messageId: string,
messageContent: any,
callback: CallbackFunction<WindowIdResult>,
): void;
Sends a message to an open window.
Parameters
| Parameter | Type | Description |
|---|---|---|
windowId | string | The id or name of the window to send the message to. |
messageId | string | A message id. |
messageContent | any | The content of the message. |
callback | CallbackFunction<WindowIdResult> | Called with the status of the request |
Returns
void