MadelineProtoDocs/docs/API_docs/constructors/updateBotWebhookJSON.md
2019-12-27 17:48:04 +01: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}