Skip to content

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

Class: ChecklistTasksDone ​

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

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:1836

Parameters ​

ParameterType
payloadTelegramChecklistTasksDone

Returns ​

ChecklistTasksDone

Properties ​

PropertyTypeDefined in
payloadTelegramChecklistTasksDonecontexts/index.d.ts:1835

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

Returns ​

string


checklistMessage ​

Get Signature ​

get checklistMessage(): Message

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

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:1845

Optional. Identifiers of the tasks that were marked as done

Returns ​

number[]


markedAsNotDoneTaskIds ​

Get Signature ​

get markedAsNotDoneTaskIds(): number[]

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

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

Returns ​

number[]