MadelineProtoDocs/docs/API_docs/constructors/updateBotWebhookJSON.md

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}