class
Hamilton::Types::InputChecklistTask
- Hamilton::Types::InputChecklistTask
- Reference
- Object
Overview
Describes a task to add to a checklist.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/input_checklist_task.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#id : Int32
Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.
-
#id=(id : Int32)
Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#parse_mode : String | Nil
Mode for parsing entities in the text.
-
#parse_mode=(parse_mode : String | Nil)
Mode for parsing entities in the text.
-
#text : String
Text of the task; 1-100 characters after entities parsing.
-
#text=(text : String)
Text of the task; 1-100 characters after entities parsing.
-
#text_entities : Array(Hamilton::Types::MessageEntity)
List of special entities that appear in the text, which can be specified instead of parse_mode.
-
#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.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.
Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.
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.
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.