1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace BPT\types; |
4
|
|
|
|
5
|
|
|
use stdClass; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* Represents a link to a file stored on the Telegram servers. By default, this file will be sent by the user |
9
|
|
|
* with an optional caption. Alternatively, you can use input_message_content to send a message with the |
10
|
|
|
* specified content instead of the file. |
11
|
|
|
*/ |
12
|
|
|
class inlineQueryResultCachedDocument extends types { |
|
|
|
|
13
|
|
|
/** Keep all of properties which has sub properties */ |
14
|
|
|
private const subs = [ |
15
|
|
|
'reply_markup' => 'BPT\types\inlineKeyboardMarkup', |
16
|
|
|
'input_message_content' => 'BPT\types\inputMessageContent', |
17
|
|
|
]; |
18
|
|
|
|
19
|
|
|
/** Type of the result, must be document */ |
20
|
|
|
public string $type; |
21
|
|
|
|
22
|
|
|
/** Unique identifier for this result, 1-64 bytes */ |
23
|
|
|
public string $id; |
24
|
|
|
|
25
|
|
|
/** Title for the result */ |
26
|
|
|
public string $title; |
27
|
|
|
|
28
|
|
|
/** A valid file identifier for the file */ |
29
|
|
|
public string $document_file_id; |
30
|
|
|
|
31
|
|
|
/** Optional. Short description of the result */ |
32
|
|
|
public string $description; |
33
|
|
|
|
34
|
|
|
/** Optional. Caption of the document to be sent, 0-1024 characters after entities parsing */ |
35
|
|
|
public string $caption; |
36
|
|
|
|
37
|
|
|
/** Optional. Mode for parsing entities in the document caption. See formatting options for more details. */ |
38
|
|
|
public string $parse_mode; |
39
|
|
|
|
40
|
|
|
/** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */ |
41
|
|
|
public array $caption_entities; |
42
|
|
|
|
43
|
|
|
/** Optional. Inline keyboard attached to the message */ |
44
|
|
|
public inlineKeyboardMarkup $reply_markup; |
45
|
|
|
|
46
|
|
|
/** Optional. Content of the message to be sent instead of the file */ |
47
|
|
|
public inputMessageContent $input_message_content; |
48
|
|
|
|
49
|
|
|
|
50
|
|
|
public function __construct(stdClass $update) { |
51
|
|
|
parent::__construct($update, self::subs); |
52
|
|
|
} |
53
|
|
|
} |
54
|
|
|
|
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths