Setting output contexts in Dialogflow
问题 Using the C# client library for Dialogflow, I am trying to set the output context in a webhook response. However, the output context field is read only. This is my code: WebhookResponse response = new WebhookResponse { FulfillmentText = "This is a test", OutputContexts = ... //Regardless of what I try and set OutputContexts to be, I get the error "property or indexer 'WebhookResponse.OutputContexts' cannot be assigned to -- it is read only" }; How do I set the output context? 回答1: I know this