MadelineProtoDocs/old_docs/API_docs_v42/constructors/updateShortSentMessage.md

1.3 KiB

title description image
updateShortSentMessage Update short sent message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateShortSentMessage

Back to constructors index

Update short sent message

Attributes:

Name Type Required Description
unread Bool Optional Unread?
out Bool Optional Out?
id int Yes ID
pts int Yes Pts
pts_count int Yes Pts count
date int Yes Date
media MessageMedia Optional 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}}