*** id: 06685e61-c961-4f24-8f27-e6a69ad3efaa title: 'off' slug: /node/reference/chat/client/off description: off method for the Client class. max-toc-depth: 3 ---------------- ### off * **off**(`event`, `fn?`) Remove an event handler. #### Parameters | Name | Type | Description | | :------ | :------- | :----------------------------------------------------------------------------------------------------------------------- | | `event` | `string` | Name of the event. See [Events](/docs/server-sdk/v3/node/reference/chat/client/events) for the list of available events. | | `fn?` | Function | An event handler which had been previously attached. |