Raw.DecryptedMessage17
Contents of an encrypted message.
decryptedMessage#204d3878 random_id:long ttl:int message:string media:DecryptedMessageMedia = DecryptedMessage;
export namespace Raw {
export class DecryptedMessage17 {
constructor(params: {
randomId: bigint;
ttl: number;
message: string;
media: Raw.TypeDecryptedMessageMedia;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x204d3878
Property
randomId
: bigintRandom message id, assigned by the author of message.must be equal to the id passed to sending method.
ttl
: numberMessage lifetime. has higher priority than decryptedmessageactionsetmessagettl.parameter added in layer 17.
message
: stringMessage text
media
: Raw.TypeDecryptedMessageMediaMedia content