Raw.DecryptedMessage8
Contents of an encrypted message.
decryptedMessage#1f814f1f random_id:long random_bytes:bytes message:string media:DecryptedMessageMedia = DecryptedMessage;
export namespace Raw {
export class DecryptedMessage8 {
constructor(params: {
randomId: bigint;
randomBytes: Buffer;
message: string;
media: Raw.TypeDecryptedMessageMedia;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x1f814f1f
Property
randomId
: bigintRandom message id, assigned by the author of message.must be equal to the id passed to sending method.
randomBytes
: Buffermessage
: stringMessage text
media
: Raw.TypeDecryptedMessageMediaMedia content