class
TelegramBot::InputChecklist
- TelegramBot::InputChecklist
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/checklist.crConstructors
- .new(title : String, tasks : Array(InputChecklistTask), *, parse_mode : Nil | String = nil, title_entities : Nil | Array(TelegramBot::MessageEntity) = nil, others_can_add_tasks : Bool | Nil = nil, others_can_mark_tasks_as_done : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #others_can_add_tasks=(others_can_add_tasks : Bool | Nil)
- #others_can_add_tasks? : Bool | Nil
- #others_can_mark_tasks_as_done=(others_can_mark_tasks_as_done : Bool | Nil)
- #others_can_mark_tasks_as_done? : Bool | Nil
- #parse_mode : String | Nil
- #parse_mode=(parse_mode : String | Nil)
- #tasks : Array(InputChecklistTask)
- #tasks=(tasks : Array(InputChecklistTask))
- #title : String
- #title=(title : String)
- #title_entities : Array(MessageEntity) | Nil
- #title_entities=(title_entities : Array(MessageEntity) | Nil)
Constructor Detail
def self.new(title : String, tasks : Array(InputChecklistTask), *, parse_mode : Nil | String = nil, title_entities : Nil | Array(TelegramBot::MessageEntity) = nil, others_can_add_tasks : Bool | Nil = nil, others_can_mark_tasks_as_done : Bool | Nil = nil)
#