Layer 227
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).
constructor
updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Out | flags .1? true | Whether the message is outgoing |
| Id | int | ID of the sent message |
| Pts | int | PTS |
| PtsCount | int | PTS count |
| Date | int | date |
| Media | flags .9? MessageMedia | Attached media |
| Entities | flags .7? Vector < MessageEntity > | Entities for styled text |
| TtlPeriod | flags .25? int | Time To Live of the message, once message. date+message. ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. |
Returns
UpdatesGogram Example
// Creating UpdateShortSentMessage constructor obj := &tg.UpdateShortSentMessage{ Out: nil, Id: 42, Pts: 42, PtsCount: 42, Date: 42, Media: nil, // ... more required fields }