class
Tourmaline::ChecklistTasksAdded
- Tourmaline::ChecklistTasksAdded
- Reference
- Object
Overview
Describes a service message about tasks added to a checklist.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(tasks : Array(Tourmaline::ChecklistTask) = [] of Tourmaline::ChecklistTask, checklist_message : Tourmaline::Message | Nil = nil)
Instance Method Summary
-
#checklist_message : Tourmaline::Message | Nil
Optional.
-
#checklist_message=(checklist_message : Tourmaline::Message | Nil)
Optional.
-
#tasks : Array(Tourmaline::ChecklistTask)
List of tasks added to the checklist
-
#tasks=(tasks : Array(Tourmaline::ChecklistTask))
List of tasks added to the checklist
Constructor Detail
def self.new(tasks : Array(Tourmaline::ChecklistTask) = [] of Tourmaline::ChecklistTask, checklist_message : Tourmaline::Message | Nil = nil)
#
Instance Method Detail
def checklist_message : Tourmaline::Message | Nil
#
Optional. Message containing the checklist to which the tasks were added. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
def checklist_message=(checklist_message : Tourmaline::Message | Nil)
#
Optional. Message containing the checklist to which the tasks were added. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.