Raw.messages.GetDhConfig

Raw.messages.GetDhConfig

Returns configuration parameters for diffie-hellman key generation. can also return a random sequence of bytes of required length.

messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
export namespace Raw {
  export namespace messages {
    export class GetDhConfig {
      constructor(params: { version: number; randomLength: number }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x26cf8950

Property

  • version : number

    Value of the version parameter from messages.dhconfig, available at the client

  • randomLength : number

    Length of the required random sequence

Results

Raw.messages.TypeDhConfig