Raw.EncryptedMessage
Encrypted message.
encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage;
export namespace Raw {
export class EncryptedMessage {
constructor(params: {
randomId: bigint;
chatId: number;
date: number;
bytes: Buffer;
file: Raw.TypeEncryptedFile;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xed18c118
Property
randomId
: bigintRandom message id, assigned by the author of message
chatId
: numberId of encrypted chat
date
: numberDate of sending
bytes
: BufferTl-serialization of decryptedmessage type, encrypted with the key created at chat initialization
file
: Raw.TypeEncryptedFileAttached encrypted file