Skip to content

GramIO API Reference / @gramio/contexts/dist / ChecklistTasksDone

Class: ChecklistTasksDone

Defined in: contexts/index.d.ts:2478

Describes a service message about checklist tasks marked as done or not done.

Documentation

Constructors

Constructor

new ChecklistTasksDone(payload): ChecklistTasksDone

Defined in: contexts/index.d.ts:2480

Parameters

ParameterType
payloadTelegramChecklistTasksDone

Returns

ChecklistTasksDone

Properties

PropertyTypeDefined in
payloadTelegramChecklistTasksDonecontexts/index.d.ts:2479

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:2481

Returns

string


checklistMessage

Get Signature

get checklistMessage(): Message

Defined in: contexts/index.d.ts:2485

Optional. Message containing the checklist whose tasks were marked as done or not done. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.

Returns

Message


markedAsDoneTaskIds

Get Signature

get markedAsDoneTaskIds(): number[]

Defined in: contexts/index.d.ts:2489

Optional. Identifiers of the tasks that were marked as done

Returns

number[]


markedAsNotDoneTaskIds

Get Signature

get markedAsNotDoneTaskIds(): number[]

Defined in: contexts/index.d.ts:2493

Optional. Identifiers of the tasks that were marked as not done

Returns

number[]