deleteChat

Delete a chat. USER-ONLY

Parameters

chatId: ID

The identifier of a chat.

Result

void

Syntax

await client.deleteChat(chatId);