closeChat

Close a chat previously opened by openChat.

Parameters

chatId: ID

The chat to close.

Result

void

Syntax

await client.closeChat(chatId);