Raw.EncryptedMessage

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 : bigint

    Random message id, assigned by the author of message

  • chatId : number

    Id of encrypted chat

  • date : number

    Date of sending

  • bytes : Buffer

    Tl-serialization of decryptedmessage type, encrypted with the key created at chat initialization

  • file : Raw.TypeEncryptedFile

    Attached encrypted file