Making DialogFlow v2 DetectIntent Calls w/ C# (including input context)
So I finally figured out a way to successfully make detect intent calls and provide an input context. My question is whether or not this is the CORRECT (or best) way to do it: (And yes, I know you can just call DetectIntent(agent, session, query) but I have to provide a input context(s) depending on the request) var query = new QueryInput { Text = new TextInput { Text = model.Content, LanguageCode = string.IsNullOrEmpty(model.Language) ? "en-us" : model.Language, } }; var commonContext = new global::Google.Cloud.Dialogflow.V2.Context { ContextName = new ContextName(agent, model.sessionId, "my