|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace BPT\types; |
|
4
|
|
|
|
|
5
|
|
|
use stdClass; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* This object defines the criteria used to request suitable users. Information about the selected users will be |
|
9
|
|
|
* shared with the bot when the corresponding button is pressed. More about requesting users » |
|
10
|
|
|
* |
|
11
|
|
|
* @method self setRequest_id(int $value) |
|
12
|
|
|
* @method self setUser_is_bot(bool $value) |
|
13
|
|
|
* @method self setUser_is_premium(bool $value) |
|
14
|
|
|
* @method self setMax_quantity(int $value) |
|
15
|
|
|
* @method self setRequest_name(bool $value) |
|
16
|
|
|
* @method self setRequest_username(bool $value) |
|
17
|
|
|
* @method self setRequest_photo(bool $value) |
|
18
|
|
|
*/ |
|
19
|
|
|
class keyboardButtonRequestUsers extends types { |
|
|
|
|
|
|
20
|
|
|
/** Keep all properties which has sub properties */ |
|
21
|
|
|
private const subs = []; |
|
22
|
|
|
|
|
23
|
|
|
/** |
|
24
|
|
|
* Signed 32-bit identifier of the request that will be received back in the UsersShared object. Must be unique |
|
25
|
|
|
* within the message |
|
26
|
|
|
*/ |
|
27
|
|
|
public int $request_id; |
|
28
|
|
|
|
|
29
|
|
|
/** |
|
30
|
|
|
* Optional. Pass True to request bots, pass False to request regular users. If not specified, no additional |
|
31
|
|
|
* restrictions are applied. |
|
32
|
|
|
*/ |
|
33
|
|
|
public bool $user_is_bot; |
|
34
|
|
|
|
|
35
|
|
|
/** |
|
36
|
|
|
* Optional. Pass True to request premium users, pass False to request non-premium users. If not specified, no |
|
37
|
|
|
* additional restrictions are applied. |
|
38
|
|
|
*/ |
|
39
|
|
|
public bool $user_is_premium; |
|
40
|
|
|
|
|
41
|
|
|
/** Optional. The maximum number of users to be selected; 1-10. Defaults to 1. */ |
|
42
|
|
|
public int $max_quantity; |
|
43
|
|
|
|
|
44
|
|
|
/** Optional. Pass True to request the users' first and last names */ |
|
45
|
|
|
public bool $request_name; |
|
46
|
|
|
|
|
47
|
|
|
/** Optional. Pass True to request the users' usernames */ |
|
48
|
|
|
public bool $request_username; |
|
49
|
|
|
|
|
50
|
|
|
/** Optional. Pass True to request the users' photos */ |
|
51
|
|
|
public bool $request_photo; |
|
52
|
|
|
|
|
53
|
|
|
|
|
54
|
|
|
public function __construct(stdClass|null $object = null) { |
|
55
|
|
|
if ($object != null) { |
|
56
|
|
|
parent::__construct($object, self::subs); |
|
57
|
|
|
} |
|
58
|
|
|
} |
|
59
|
|
|
} |
|
60
|
|
|
|
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