1.5 KiB
1.5 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
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 |
---|---|---|---|
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', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]];
Or, if you're into Lua:
updateShortSentMessage={_='updateShortSentMessage', id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}}