| Total Complexity | 2 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class InlineQueryResultCachedDocumentType extends InlineQueryResultType |
||
| 17 | { |
||
| 18 | use CaptionEntitiesFieldTrait; |
||
| 19 | use FillFromArrayTrait; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Title for the result;. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | public $title; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * A valid file identifier for the file. |
||
| 30 | * |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | public $documentFileId; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Optional. Caption of the document to be sent, 0-1024 characters. |
||
| 37 | * |
||
| 38 | * @var string|null |
||
| 39 | */ |
||
| 40 | public $caption; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, |
||
| 44 | * fixed-width text or inline URLs in the media caption. |
||
| 45 | * |
||
| 46 | * @var string|null |
||
| 47 | */ |
||
| 48 | public $parseMode; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Optional. Short description of the result. |
||
| 52 | * |
||
| 53 | * @var string|null |
||
| 54 | */ |
||
| 55 | public $description; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Optional. Content of the message to be sent instead of the file. |
||
| 59 | * |
||
| 60 | * @var InputMessageContentType|null |
||
| 61 | */ |
||
| 62 | public $inputMessageContent; |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @throws \TgBotApi\BotApiBase\Exception\BadArgumentException |
||
| 66 | */ |
||
| 67 | public static function create( |
||
| 85 |