I am using python and dialogflowcx v3beta1 library, I want to pass a query params to detect intent function but it shows an error.

I have read the doc: <https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/QueryParameters> but I am confusing with the format object Struct format.

How it should be pass in the code?

```
session_client = SessionsClient(client_options=client_options, credentials=credentials)
text_input = session.TextInput(text=message)
query_input = session.QueryInput(text=text_input, language_code=language_code)
query_params = {
        "parameters": {
            "param1": "value1"
        }
    }
request = session.DetectIntentRequest(
    session=session_path, query_input=query_input, query_params=query_params
)

```

Thanks in advance.