MadelineProtoDocs/old_docs/API_docs_v43/constructors/updateBotWebhookJSON.md
2020-09-12 12:47:38 +02:00

709 B

title description image
updateBotWebhookJSON A new incoming event; for bots only https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotWebhookJSON

Back to constructors index

A new incoming event; for bots only

Attributes:

Name Type Required Description
data DataJSON Yes The event

Type: Update

Example:

$updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON];

Or, if you're into Lua:

updateBotWebhookJSON={_='updateBotWebhookJSON', data=DataJSON}