Page MenuHomePhabricator (Chris)

InputChecklistTask.php
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

InputChecklistTask.php

<?php
namespace Longman\TelegramBot\Entities;
/**
* Class InputChecklistTask
*
* Describes a task to add to a checklist.
*
* @link https://core.telegram.org/bots/api#inputchecklisttask
*
* @method int getId() Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist
* @method string getText() Text of the task; 1-100 characters after entities parsing
* @method string getParseMode() Optional. Mode for parsing entities in the text. See formatting options for more details.
* @method MessageEntity[] getTextEntities() Optional. 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.
*/
class InputChecklistTask extends Entity
{
/**
* {@inheritdoc}
*/
protected function subEntities(): array
{
return [
'text_entities' => [MessageEntity::class],
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 15, 1:39 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135870
Default Alt Text
InputChecklistTask.php (1 KB)

Event Timeline