class
Hamilton::Types::InputChecklist
- Hamilton::Types::InputChecklist
- Reference
- Object
Overview
Describes a checklist to create.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/input_checklist.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#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.
-
#others_can_add_tasks : Bool | Nil
Pass True if other users can add tasks to the checklist.
-
#others_can_add_tasks=(others_can_add_tasks : Bool | Nil)
Pass True if other users can add tasks to the checklist.
-
#others_can_mark_tasks_as_done : Bool | Nil
Pass True if other users can mark tasks as done or not done in the checklist.
-
#others_can_mark_tasks_as_done=(others_can_mark_tasks_as_done : Bool | Nil)
Pass True if other users can mark tasks as done or not done in the checklist.
-
#parse_mode : String
Mode for parsing entities in the title.
-
#parse_mode=(parse_mode : String)
Mode for parsing entities in the title.
-
#tasks : Array(Hamilton::Types::InputChecklistTask)
List of 1-30 tasks in the checklist.
-
#tasks=(tasks : Array(Hamilton::Types::InputChecklistTask))
List of 1-30 tasks in the checklist.
-
#title : String
Title of the checklist; 1-255 characters after entities parsing.
-
#title=(title : String)
Title of the checklist; 1-255 characters after entities parsing.
-
#title_entities : Array(Hamilton::Types::MessageEntity) | Nil
List of special entities that appear in the title, which can be specified instead of parse_mode.
-
#title_entities=(title_entities : Array(Hamilton::Types::MessageEntity) | Nil)
List of special entities that appear in the title, 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
Pass True if other users can add tasks to the checklist.
Pass True if other users can mark tasks as done or not done in the checklist.
Pass True if other users can mark tasks as done or not done in the checklist.
List of 1-30 tasks in the checklist.
List of special entities that appear in the title, 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 title, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.