MadelineProtoDocs/old_docs/API_docs_v30/constructors/updateBotWebhookJSON.md
2020-06-16 17:50:25 +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}