|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace BPT\types; |
|
4
|
|
|
|
|
5
|
|
|
use stdClass; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* This object contains information about a message that is being replied to, which may come from another chat or |
|
9
|
|
|
* forum topic. |
|
10
|
|
|
*/ |
|
11
|
|
|
class externalReplyInfo extends types { |
|
|
|
|
|
|
12
|
|
|
/** Keep all properties which has sub properties */ |
|
13
|
|
|
private const subs = [ |
|
14
|
|
|
'origin' => 'BPT\types\messageOrigin', |
|
15
|
|
|
'chat' => 'BPT\types\chat', |
|
16
|
|
|
'link_preview_options' => 'BPT\types\linkPreviewOptions', |
|
17
|
|
|
'animation' => 'BPT\types\animation', |
|
18
|
|
|
'audio' => 'BPT\types\audio', |
|
19
|
|
|
'document' => 'BPT\types\document', |
|
20
|
|
|
'array' => ['photo' => 'BPT\types\photoSize'], |
|
21
|
|
|
'sticker' => 'BPT\types\sticker', |
|
22
|
|
|
'story' => 'BPT\types\story', |
|
23
|
|
|
'video' => 'BPT\types\video', |
|
24
|
|
|
'video_note' => 'BPT\types\videoNote', |
|
25
|
|
|
'voice' => 'BPT\types\voice', |
|
26
|
|
|
'contact' => 'BPT\types\contact', |
|
27
|
|
|
'dice' => 'BPT\types\dice', |
|
28
|
|
|
'game' => 'BPT\types\game', |
|
29
|
|
|
'giveaway' => 'BPT\types\giveaway', |
|
30
|
|
|
'giveaway_winners' => 'BPT\types\giveawayWinners', |
|
31
|
|
|
'invoice' => 'BPT\types\invoice', |
|
32
|
|
|
'location' => 'BPT\types\location', |
|
33
|
|
|
'poll' => 'BPT\types\poll', |
|
34
|
|
|
'venue' => 'BPT\types\venue', |
|
35
|
|
|
]; |
|
36
|
|
|
|
|
37
|
|
|
/** Origin of the message replied to by the given message */ |
|
38
|
|
|
public messageOrigin $origin; |
|
39
|
|
|
|
|
40
|
|
|
/** Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel. */ |
|
41
|
|
|
public null|chat $chat = null; |
|
42
|
|
|
|
|
43
|
|
|
/** |
|
44
|
|
|
* Optional. Unique message identifier inside the original chat. Available only if the original chat is a |
|
45
|
|
|
* supergroup or a channel. |
|
46
|
|
|
*/ |
|
47
|
|
|
public null|int $message_id = null; |
|
48
|
|
|
|
|
49
|
|
|
/** Optional. Options used for link preview generation for the original message, if it is a text message */ |
|
50
|
|
|
public null|linkPreviewOptions $link_preview_options = null; |
|
51
|
|
|
|
|
52
|
|
|
/** Optional. Message is an animation, information about the animation */ |
|
53
|
|
|
public null|animation $animation = null; |
|
54
|
|
|
|
|
55
|
|
|
/** Optional. Message is an audio file, information about the file */ |
|
56
|
|
|
public null|audio $audio = null; |
|
57
|
|
|
|
|
58
|
|
|
/** Optional. Message is a general file, information about the file */ |
|
59
|
|
|
public null|document $document = null; |
|
60
|
|
|
|
|
61
|
|
|
/** |
|
62
|
|
|
* Optional. Message is a photo, available sizes of the photo |
|
63
|
|
|
* @var photoSize[] |
|
64
|
|
|
*/ |
|
65
|
|
|
public null|array $photo = null; |
|
66
|
|
|
|
|
67
|
|
|
/** Optional. Message is a sticker, information about the sticker */ |
|
68
|
|
|
public null|sticker $sticker = null; |
|
69
|
|
|
|
|
70
|
|
|
/** Optional. Message is a forwarded story */ |
|
71
|
|
|
public null|story $story = null; |
|
72
|
|
|
|
|
73
|
|
|
/** Optional. Message is a video, information about the video */ |
|
74
|
|
|
public null|video $video = null; |
|
75
|
|
|
|
|
76
|
|
|
/** Optional. Message is a video note, information about the video message */ |
|
77
|
|
|
public null|videoNote $video_note = null; |
|
78
|
|
|
|
|
79
|
|
|
/** Optional. Message is a voice message, information about the file */ |
|
80
|
|
|
public null|voice $voice = null; |
|
81
|
|
|
|
|
82
|
|
|
/** Optional. True, if the message media is covered by a spoiler animation */ |
|
83
|
|
|
public null|bool $has_media_spoiler = null; |
|
84
|
|
|
|
|
85
|
|
|
/** Optional. Message is a shared contact, information about the contact */ |
|
86
|
|
|
public null|contact $contact = null; |
|
87
|
|
|
|
|
88
|
|
|
/** Optional. Message is a dice with random value */ |
|
89
|
|
|
public null|dice $dice = null; |
|
90
|
|
|
|
|
91
|
|
|
/** Optional. Message is a game, information about the game. More about games » */ |
|
92
|
|
|
public null|game $game = null; |
|
93
|
|
|
|
|
94
|
|
|
/** Optional. Message is a scheduled giveaway, information about the giveaway */ |
|
95
|
|
|
public null|giveaway $giveaway = null; |
|
96
|
|
|
|
|
97
|
|
|
/** Optional. A giveaway with public winners was completed */ |
|
98
|
|
|
public null|giveawayWinners $giveaway_winners = null; |
|
99
|
|
|
|
|
100
|
|
|
/** Optional. Message is an invoice for a payment, information about the invoice. More about payments » */ |
|
101
|
|
|
public null|invoice $invoice = null; |
|
102
|
|
|
|
|
103
|
|
|
/** Optional. Message is a shared location, information about the location */ |
|
104
|
|
|
public null|location $location = null; |
|
105
|
|
|
|
|
106
|
|
|
/** Optional. Message is a native poll, information about the poll */ |
|
107
|
|
|
public null|poll $poll = null; |
|
108
|
|
|
|
|
109
|
|
|
/** Optional. Message is a venue, information about the venue */ |
|
110
|
|
|
public null|venue $venue = null; |
|
111
|
|
|
|
|
112
|
|
|
|
|
113
|
|
|
public function __construct(stdClass|null $object = null) { |
|
114
|
|
|
if ($object != null) { |
|
115
|
|
|
parent::__construct($object, self::subs); |
|
116
|
|
|
} |
|
117
|
|
|
} |
|
118
|
|
|
} |
|
119
|
|
|
|
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