# 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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.