class Hamilton::Types::InputChecklistTask

Overview

Describes a task to add to a checklist.

Included Modules

Defined in:

types/input_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 id : Int32 #

Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.


def id=(id : Int32) #

Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.


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 parse_mode : String | Nil #

Mode for parsing entities in the text.


def parse_mode=(parse_mode : String | Nil) #

Mode for parsing entities in the text.


def text : String #

Text of the task; 1-100 characters after entities parsing.


def text=(text : String) #

Text of the task; 1-100 characters after entities parsing.


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

List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.


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

List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.