struct

Telegram::Checklist

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: Checklist Describes a checklist.

Constructors

new(title : String, tasks : Array(ChecklistTask), title_entities : Array(MessageEntity) | Nil = nil, others_can_add_tasks : Bool | Nil = nil, others_can_mark_tasks_as_done : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(title _title = @title, tasks _tasks = @tasks, title_entities _title_entities = @title_entities, others_can_add_tasks _others_can_add_tasks = @others_can_add_tasks, others_can_mark_tasks_as_done _others_can_mark_tasks_as_done = @others_can_mark_tasks_as_done)
Source
others_can_add_tasks
others_can_mark_tasks_as_done
tasks
title
title_entities