MadelineProtoDocs/old_docs/API_docs_v68/constructors/updateBotWebhookJSON.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

799 B

title description image
updateBotWebhookJSON Update bot webhook json https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotWebhookJSON

Back to constructors index

Update bot webhook json

Attributes:

Name Type Required Description
data DataJSON Yes Data

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateBotWebhookJSON", "data": DataJSON}

Or, if you're into Lua:

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