deleteChat

Delete a chat. User-only.

Parameters

chatId: ID

The identifier of the chat to delete.

Result

void

Syntax

await client.deleteChat(chatId);