1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 09:19:57 +01:00
MadelineProto/old_docs/API_docs_v18/constructors/updateShortMessage.md
2017-07-23 16:33:46 +02: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}