<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Notice`](Notice) › [`setMessage`](Notice/setMessage) ## Notice.setMessage() method Change the message of this notice. 0.9.7 **Signature:** ```typescript setMessage(message: string | DocumentFragment): this; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>message</code> | <code>string &#124; </code><code>DocumentFragment</code> | | **Returns:** `this`