1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 14:07:22 +01:00
MadelineProto/old_docs/API_docs_v18/constructors/updateShortMessage.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.0 KiB

title description
updateShortMessage updateShortMessage attributes, type and example

Constructor: updateShortMessage

Back to constructors index

Attributes:

Name Type Required
id int Yes
from_id int Yes
message string Yes
pts int Yes
date int Yes
seq int Yes

Type: Updates

Example:

$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => 'string', 'pts' => int, 'date' => int, 'seq' => int];

PWRTelegram json-encoded version:

{"_": "updateShortMessage", "id": int, "from_id": int, "message": "string", "pts": int, "date": int, "seq": int}

Or, if you're into Lua:

updateShortMessage={_='updateShortMessage', id=int, from_id=int, message='string', pts=int, date=int, seq=int}