Skip to content

Commit 8bca196

Browse files
committed
Added the field last_synchronization_error_date to the class WebhookInfo.
1 parent 7c22f26 commit 8bca196

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/Entities/WebhookInfo.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
*
1717
* @link https://core.telegram.org/bots/api#webhookinfo
1818
*
19-
* @method string getUrl() Webhook URL, may be empty if webhook is not set up
20-
* @method bool getHasCustomCertificate() True, if a custom certificate was provided for webhook certificate checks
21-
* @method int getPendingUpdateCount() Number of updates awaiting delivery
22-
* @method string getIpAddress() Optional. Currently used webhook IP address
23-
* @method int getLastErrorDate() Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook
24-
* @method string getLastErrorMessage() Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook
25-
* @method int getMaxConnections() Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery
26-
* @method string[] getAllowedUpdates() Optional. A list of update types the bot is subscribed to. Defaults to all update types
19+
* @method string getUrl() Webhook URL, may be empty if webhook is not set up
20+
* @method bool getHasCustomCertificate() True, if a custom certificate was provided for webhook certificate checks
21+
* @method int getPendingUpdateCount() Number of updates awaiting delivery
22+
* @method string getIpAddress() Optional. Currently used webhook IP address
23+
* @method int getLastErrorDate() Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook
24+
* @method string getLastErrorMessage() Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook
25+
* @method int getLastSynchronizationErrorDate() Optional. Unix time of the most recent error that happened when trying to synchronize available updates with Telegram datacenters
26+
* @method int getMaxConnections() Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery
27+
* @method string[] getAllowedUpdates() Optional. A list of update types the bot is subscribed to. Defaults to all update types
2728
*/
2829
class WebhookInfo extends Entity
2930
{

0 commit comments

Comments
 (0)