Tourmaline::ChecklistTask
Inherits JSON::Serializable < Reference < Object
Describes a task in a checklist.
Constructors
new(id : Int32 | Int64, text : String, text_entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity, completed_by_user : Tourmaline::User | Nil = nil, completed_by_chat : Tourmaline::Chat | Nil = nil, completion_date : Int32 | Int64 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
completed_by_chat
Optional. Chat that completed the task; omitted if the task wasn't completed by a chat
Optional. Chat that completed the task; omitted if the task wasn't completed by a chat
completed_by_user
Optional. User that completed the task; omitted if the task wasn't completed by a user
Optional. User that completed the task; omitted if the task wasn't completed by a user
completion_date
Optional. Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed
Optional. Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed
Optional. Special entities that appear in the task text