MadelineProtoDocs/old_docs/API_docs_v1/constructors/updateShortMessage.md
2020-06-16 17:50:25 +02:00

1.1 KiB

title description image
updateShortMessage Info about a message sent to (received from) another user https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateShortMessage

Back to constructors index

Info about a message sent to (received from) another user

Attributes:

Name Type Required Description
id int Yes The message ID
from_id int Yes
message string Yes The message
pts int Yes PTS
date int Yes date
seq int Yes

Type: Updates

Example:

$updateShortMessage = ['_' => '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}