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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_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)
Sourceothers_can_add_tasks
others_can_mark_tasks_as_done
tasks
title
title_entities