MadelineProtoDocs/old_docs/API_docs_v41/constructors/updateShortSentMessage.md
2019-12-27 17:48:04 +01:00

1.7 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 Unread?
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

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}}