Skip to main content

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).

type tg.UpdateShortSentMessage struct { /* ... */ }

Implements Updates.

Fields​

NameTypeRequiredDescription
Outbool—Whether the message is outgoing
IDintyesID of the sent message
PtsintyesPTS
PtsCountintyesPTS count
Dateintyesdate
MediaMessageMediaClass—Attached media
Entities[]MessageEntityClass—Entities for styled text
TTLPeriodint—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.

References​