MadelineProtoDocs/old_docs/API_docs_v23/constructors/updateShortMessage.md
2019-12-27 17:48:04 +01: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 From ID
message string Yes The message
pts int Yes PTS
date int Yes date
seq int Yes Seq

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}