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

1.8 KiB

title description image
updateShortSentMessage Shortened constructor containing info on one outgoing message to a contact (the destination chat has to be extracted from the method call that returned this object). https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateShortSentMessage

Back to constructors index

Shortened constructor containing info on one outgoing message to a contact (the destination chat has to be extracted from the method call that returned this object).

Attributes:

Name Type Required Description
unread Bool Optional
out Bool Optional Whether the message is outgoing
id int Yes ID of the sent message
pts int Yes PTS
pts_count int Yes PTS count
date int Yes date
media MessageMedia Optional Attached media
entities Array of MessageEntity Optional Entities for styled text

Type: Updates

Example:

$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]];

Or, if you're into Lua:

updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}}