|
@@ -14,11 +14,11 @@ |
|
|
block discarded – undo |
14
|
14
|
|
15
|
15
|
class WebhookInfo extends Entity |
16
|
16
|
{ |
17
|
|
- protected $url; // String Webhook URL, may be empty if webhook is not set up |
18
|
|
- protected $has_custom_certificate; // Boolean True, if a custom certificate was provided for webhook certificate checks |
19
|
|
- protected $pending_update_count; // Integer Number of updates awaiting delivery |
20
|
|
- protected $last_error_date; // Integer Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook |
21
|
|
- protected $last_error_message; // String Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook |
|
17
|
+ protected $url; // String Webhook URL, may be empty if webhook is not set up |
|
18
|
+ protected $has_custom_certificate; // Boolean True, if a custom certificate was provided for webhook certificate checks |
|
19
|
+ protected $pending_update_count; // Integer Number of updates awaiting delivery |
|
20
|
+ protected $last_error_date; // Integer Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook |
|
21
|
+ protected $last_error_message; // String Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook |
22
|
22
|
|
23
|
23
|
public function __construct(array $data) |
24
|
24
|
{ |
Please login to merge, or discard this patch.