updateChecklist

Update a checklist. USER-ONLY

Parameters

chatId: ID

The identifier of a chat.

messageId: number

The identifier of the checklist message.

itemsToCheck?: number[]

List of identifiers of items to check.

itemsToUncheck?: number[]

List of identifiers of items to uncheck.

Result

void

Syntax

// Required parameters only.
await client.updateChecklist(chatId, messageId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.updateChecklist(chatId, messageId, { itemsToCheck, itemsToUncheck });