leaveChat

Leave a chat.

Parameters

chatId: ID

The identifier of the chat to leave.

Result

void

Syntax

await client.leaveChat(chatId);