closeChat

Close a chat previously opened by openChat. User-only.

Parameters

chatId: ID

The chat to close.

Result

void

Syntax

await client.closeChat(chatId);