1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:39:36 +01:00
MadelineProto/docs/API_docs/constructors/updateShort.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

693 B

title description
updateShort updateShort attributes, type and example

Constructor: updateShort

Back to constructors index

Attributes:

Name Type Required
update Update Yes
date int Yes

Type: Updates

Example:

$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int];

PWRTelegram json-encoded version:

{"_": "updateShort", "update": Update, "date": int}

Or, if you're into Lua:

updateShort={_='updateShort', update=Update, date=int}