class Hamilton::Types::ChecklistTask

Overview

Describes a task in a checklist.

Included Modules

Defined in:

types/checklist_task.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

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

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def completed_by_user : Hamilton::Types::User #

User that completed the task; omitted if the task wasn't completed.


def completed_by_user=(completed_by_user : Hamilton::Types::User) #

User that completed the task; omitted if the task wasn't completed.


def completion_date : Int32 #

Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed.


def completion_date=(completion_date : Int32) #

Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed.


def id : Int32 #

Unique identifier of the task


def id=(id : Int32) #

Unique identifier of the task


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def text : String #

Text of the task


def text=(text : String) #

Text of the task


def text_entities : Array(Hamilton::Types::MessageEntity) #

Special entities that appear in the task text.


def text_entities=(text_entities : Array(Hamilton::Types::MessageEntity)) #

Special entities that appear in the task text.