Page MenuHomePhabricator (Chris)

Checklist.php
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

Checklist.php

<?php
namespace Longman\TelegramBot\Entities;
/**
* Class Checklist
*
* Describes a checklist.
*
* @link https://core.telegram.org/bots/api#checklist
*
* @method string getTitle() Title of the checklist
* @method MessageEntity[] getTitleEntities() Optional. Special entities that appear in the checklist title
* @method ChecklistTask[] getTasks() List of tasks in the checklist
* @method bool getOthersCanAddTasks() Optional. True, if users other than the creator of the list can add tasks to the list
* @method bool getOthersCanMarkTasksAsDone() Optional. True, if users other than the creator of the list can mark tasks as done or not done
*/
class Checklist extends Entity
{
/**
* {@inheritdoc}
*/
protected function subEntities(): array
{
return [
'title_entities' => [MessageEntity::class],
'tasks' => [ChecklistTask::class],
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 7:30 PM (19 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
133545
Default Alt Text
Checklist.php (1 KB)

Event Timeline