Raw.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).
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;
export namespace Raw {
export class UpdateShortSentMessage {
constructor(params: {
out?: boolean;
id: number;
pts: number;
ptsCount: number;
date: number;
media?: Raw.TypeMessageMedia;
entities?: Array<Raw.TypeMessageEntity>;
ttlPeriod?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x9015e101
Property
out
: boolean or undefinedWhether the message is outgoing
id
: numberId of the sent message
pts
: numberPts
ptsCount
: numberPts count
date
: numberDate
media
: Raw.TypeMessageMedia or undefinedAttached media
entities
: Array of Raw.TypeMessageEntity or undefinedEntities for styled text
ttlPeriod
: number or undefinedTime to live of the message, once message.date+message.ttlPeriod === time(), the message will be deleted on the server, and must be deleted locally as well.