Raw.messages.DhConfig

Raw.messages.DhConfig

New set of configuring parameters.

messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig;
export namespace Raw {
  export namespace messages {
    export class DhConfig {
      constructor(params: { g: number; p: Buffer; version: number; random: Buffer }) {}
    }
  }
}
🚫

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

Layer: 185
Constructor ID: 0x2c221edd

Property

  • g : number

    New value prime, see wikipedia

  • p : Buffer

    New value primitive root, see wikipedia

  • version : number

    Version of set of parameters

  • random : Buffer

    Random sequence of bytes of assigned length