MadelineProtoDocs/docs/API_docs/constructors/updateBotWebhookJSON.md

30 lines
667 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "updateBotWebhookJSON"
description: "A new incoming event; for bots only"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateBotWebhookJSON
[Back to constructors index](/API_docs/constructors/index.html)
A new incoming event; for bots only
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|data|[DataJSON](/API_docs/types/DataJSON.html) | Yes|The event|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON];
```