unpinMessages

Unpin all pinned messages.

Parameters

chatId: ID

The identifier of the chat.

Result

void

Syntax

await client.unpinMessages(chatId);