pub fn step2(
data: Step1,
response: ResPq,
dc_id: i32,
) -> Result<(ReqDhParams, Step2), Error>Expand description
Process ResPQ and generate req_DH_params.
dc_id must be the numerical DC id of the server we are connecting to
(e.g. 1 … 5). It is embedded in the PQInnerDataDc payload so that
Telegram can reject misrouted handshakes on non-DC2 endpoints.