req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:bytes q:bytes public_key_fingerprint:long encrypted_data:bytes = Server_DH_Params

def get_bytes(self):
        """req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:bytes q:bytes public_key_fingerprint:long encrypted_data:bytes = Server_DH_Params"""

        pq_io = BytesIO()
        serialize_string(pq_io, self.p)
        serialize_string(pq_io, self.q)

        ret = struct.pack("<I16s16s16sq", req_DH_params.constructor, self.nonce, self.server_nonce,
                          pq_io.getvalue(), self.public_key_fingerprint)

        bytes_io = BytesIO()
        bytes_io.write(ret)

        serialize_string(bytes_io, self.encrypted_data)

        return bytes_io.getvalue()