|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace BPT\types; |
|
4
|
|
|
|
|
5
|
|
|
use stdClass; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* Represents an audio file to be treated as music to be sent. |
|
9
|
|
|
*/ |
|
10
|
|
|
class inputMediaAudio extends types { |
|
|
|
|
|
|
11
|
|
|
/** Keep all of properties which has sub properties */ |
|
12
|
|
|
private const subs = ['thumb' => 'BPT\types\inputFile']; |
|
13
|
|
|
|
|
14
|
|
|
/** Type of the result, must be audio */ |
|
15
|
|
|
public string $type; |
|
16
|
|
|
|
|
17
|
|
|
/** |
|
18
|
|
|
* File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP |
|
19
|
|
|
* URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new |
|
20
|
|
|
* one using multipart/form-data under <file_attach_name> name. More info on Sending Files » |
|
21
|
|
|
*/ |
|
22
|
|
|
public string $media; |
|
23
|
|
|
|
|
24
|
|
|
/** |
|
25
|
|
|
* Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported |
|
26
|
|
|
* server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and |
|
27
|
|
|
* height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't |
|
28
|
|
|
* be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the |
|
29
|
|
|
* thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files » |
|
30
|
|
|
*/ |
|
31
|
|
|
public inputFile $thumb; |
|
32
|
|
|
|
|
33
|
|
|
/** Optional. Caption of the audio to be sent, 0-1024 characters after entities parsing */ |
|
34
|
|
|
public string $caption; |
|
35
|
|
|
|
|
36
|
|
|
/** Optional. Mode for parsing entities in the audio caption. See formatting options for more details. */ |
|
37
|
|
|
public string $parse_mode; |
|
38
|
|
|
|
|
39
|
|
|
/** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */ |
|
40
|
|
|
public array $caption_entities; |
|
41
|
|
|
|
|
42
|
|
|
/** Optional. Duration of the audio in seconds */ |
|
43
|
|
|
public int $duration; |
|
44
|
|
|
|
|
45
|
|
|
/** Optional. Performer of the audio */ |
|
46
|
|
|
public string $performer; |
|
47
|
|
|
|
|
48
|
|
|
/** Optional. Title of the audio */ |
|
49
|
|
|
public string $title; |
|
50
|
|
|
|
|
51
|
|
|
|
|
52
|
|
|
public function __construct(stdClass $update) { |
|
53
|
|
|
parent::__construct($update, self::subs); |
|
54
|
|
|
} |
|
55
|
|
|
} |
|
56
|
|
|
|
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