ChecklistTasksDone constructor

const ChecklistTasksDone({
  1. @JsonKey(name: 'checklist_message') Message? checklistMessage,
  2. @JsonKey(name: 'marked_as_done_task_ids') List<int>? markedAsDoneTaskIds,
  3. @JsonKey(name: 'marked_as_not_done_task_ids') List<int>? markedAsNotDoneTaskIds,
})

Creates a new ChecklistTasksDone object.

Implementation

const factory ChecklistTasksDone({
  /// 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.
  @JsonKey(name: 'checklist_message') Message? checklistMessage,

  /// Optional. Identifiers of the tasks that were marked as done
  @JsonKey(name: 'marked_as_done_task_ids') List<int>? markedAsDoneTaskIds,

  /// Optional. Identifiers of the tasks that were marked as not done
  @JsonKey(name: 'marked_as_not_done_task_ids')
  List<int>? markedAsNotDoneTaskIds,
}) = _ChecklistTasksDone;