Raw.EncryptedChat

Raw.EncryptedChat

Encrypted chat

encryptedChat#61f0d4c7 id:int access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long = EncryptedChat;
export namespace Raw {
  export class EncryptedChat {
    constructor(params: {
      id: number;
      accessHash: bigint;
      date: number;
      adminId: bigint;
      participantId: bigint;
      gAOrB: Buffer;
      keyFingerprint: bigint;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x61f0d4c7

Property

  • id : number

    Chat id

  • accessHash : bigint

    Check sum dependent on the user id

  • date : number

    Date chat was created

  • adminId : bigint

    Chat creator id

  • participantId : bigint

    Id of the second chat participant

  • gAOrB : Buffer

    B = g ^ b mod p, if the currently authorized user is the chat’s creator,or a = g ^ a mod p otherwisesee wikipedia for more info

  • keyFingerprint : bigint

    64-bit fingerprint of received key