|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace BPT\types; |
|
4
|
|
|
|
|
5
|
|
|
use stdClass; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use |
|
9
|
|
|
* input_message_content to send a message with the specified content instead of the location. |
|
10
|
|
|
*/ |
|
11
|
|
|
class inlineQueryResultLocation extends types { |
|
|
|
|
|
|
12
|
|
|
/** Keep all of properties which has sub properties */ |
|
13
|
|
|
private const subs = [ |
|
14
|
|
|
'reply_markup' => 'BPT\types\inlineKeyboardMarkup', |
|
15
|
|
|
'input_message_content' => 'BPT\types\inputMessageContent', |
|
16
|
|
|
]; |
|
17
|
|
|
|
|
18
|
|
|
/** Type of the result, must be location */ |
|
19
|
|
|
public string $type; |
|
20
|
|
|
|
|
21
|
|
|
/** Unique identifier for this result, 1-64 Bytes */ |
|
22
|
|
|
public string $id; |
|
23
|
|
|
|
|
24
|
|
|
/** Location latitude in degrees */ |
|
25
|
|
|
public float $latitude; |
|
26
|
|
|
|
|
27
|
|
|
/** Location longitude in degrees */ |
|
28
|
|
|
public float $longitude; |
|
29
|
|
|
|
|
30
|
|
|
/** Location title */ |
|
31
|
|
|
public string $title; |
|
32
|
|
|
|
|
33
|
|
|
/** Optional. The radius of uncertainty for the location, measured in meters; 0-1500 */ |
|
34
|
|
|
public float $horizontal_accuracy; |
|
35
|
|
|
|
|
36
|
|
|
/** Optional. Period in seconds for which the location can be updated, should be between 60 and 86400. */ |
|
37
|
|
|
public int $live_period; |
|
38
|
|
|
|
|
39
|
|
|
/** |
|
40
|
|
|
* Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 |
|
41
|
|
|
* if specified. |
|
42
|
|
|
*/ |
|
43
|
|
|
public int $heading; |
|
44
|
|
|
|
|
45
|
|
|
/** |
|
46
|
|
|
* Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, |
|
47
|
|
|
* in meters. Must be between 1 and 100000 if specified. |
|
48
|
|
|
*/ |
|
49
|
|
|
public int $proximity_alert_radius; |
|
50
|
|
|
|
|
51
|
|
|
/** Optional. Inline keyboard attached to the message */ |
|
52
|
|
|
public inlineKeyboardMarkup $reply_markup; |
|
53
|
|
|
|
|
54
|
|
|
/** Optional. Content of the message to be sent instead of the location */ |
|
55
|
|
|
public inputMessageContent $input_message_content; |
|
56
|
|
|
|
|
57
|
|
|
/** Optional. Url of the thumbnail for the result */ |
|
58
|
|
|
public string $thumb_url; |
|
59
|
|
|
|
|
60
|
|
|
/** Optional. Thumbnail width */ |
|
61
|
|
|
public int $thumb_width; |
|
62
|
|
|
|
|
63
|
|
|
/** Optional. Thumbnail height */ |
|
64
|
|
|
public int $thumb_height; |
|
65
|
|
|
|
|
66
|
|
|
|
|
67
|
|
|
public function __construct(stdClass $update) { |
|
68
|
|
|
parent::__construct($update, self::subs); |
|
69
|
|
|
} |
|
70
|
|
|
} |
|
71
|
|
|
|
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