class Tourmaline::ChecklistTasksAdded

Overview

Describes a service message about tasks added to a checklist.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(tasks : Array(Tourmaline::ChecklistTask) = [] of Tourmaline::ChecklistTask, checklist_message : Tourmaline::Message | Nil = nil) #

[View source]

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.


[View source]
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.


[View source]
def tasks : Array(Tourmaline::ChecklistTask) #

List of tasks added to the checklist


[View source]
def tasks=(tasks : Array(Tourmaline::ChecklistTask)) #

List of tasks added to the checklist


[View source]