Clear Dialog
Configuration 0x11, server → client.
config · 0x11 · clientbound (server → client)
Closes any server-driven dialog opened with ShowDialog. The client returns to the previous screen. It has no fields.
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
// Server side, close the currently displayed server dialog.
await client.sendPacket("ClearDialog");
This packet has no fields. It only affects a dialog opened with ShowDialog; sending it when no server dialog is open has no visible effect.
Field aliases listed under Notes are accepted as alternative keys when writing.
Source: src/Core/Versions/776/Packets/config/clientbound/ClearDialog.ts