mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 00:47:21 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
updateShortMessage | updateShortMessage attributes, type and example |
Constructor: updateShortMessage
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}