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
OutboolWhether the message is outgoing
IDintyesID of the sent message
PtsintyesPTS
PtsCountintyesPTS count
Dateintyesdate
MediaMessageMediaClassAttached media
Entities[]MessageEntityClassEntities for styled text
TTLPeriodintTime 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