archiveChat

Archive a single chat. User-only.

Parameters

chatId: ID

The identifier of the chat to archive.

Result

void

Syntax

await client.archiveChat(chatId);