---
title: Clear Dialog
description: "Play 0x8B, server → client."
---

`play` · `0x8B` · **clientbound** (server → client)

Closes any dialog screen the client currently has open. The server sends it when the dialog is no longer relevant. The client returns to the game.

Sent by the server, read by the client. Listen for it with `client.on("ClearDialog", (data) => …)` on the receiving side.

## Fields

_No fields._

## Send it

```ts
await client.sendPacket("ClearDialog");
```

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/ClearDialog.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/ClearDialog.ts)
