# UIAPI.postMessage
Sends a message to the plugin UI

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## UIAPI.postMessage() method

Sends a message to the plugin UI

**Signature:**

```typescript
postMessage(pluginMessage: unknown): void;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        pluginMessage
      </td>

      <td>
        unknown
      </td>

      <td>
        The message data to send to the UI
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

void
