mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
30 lines
667 B
Markdown
30 lines
667 B
Markdown
|
---
|
||
|
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];
|
||
|
```
|