Raw.EncryptedMessageService

Raw.EncryptedMessageService

Encrypted service message

encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage;
export namespace Raw {
  export class EncryptedMessageService {
    constructor(params: { randomId: bigint; chatId: number; date: number; bytes: Buffer }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x23734b06

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 the decryptedmessage type, encrypted with the key created at chat initialization