// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Newtonsoft.Json; namespace TranslationBot.Translation.Model { public class HandoffContext { /// /// Scope of the activity - bot/user /// [JsonProperty(PropertyName = "va_Scope")] public string Scope { get; set; } /// /// Last topic triggered in conversation /// [JsonProperty(PropertyName = "va_LastTopic")] public string LastTopic { get; set; } /// /// All topics triggered in conversation /// [JsonProperty(PropertyName = "va_Topics")] public string[] Topics { get; set; } /// /// Last user phrase /// [JsonProperty(PropertyName = "va_LastPhrase")] public string LastPhrase { get; set; } /// /// All user phrases /// [JsonProperty(PropertyName = "va_Phrases")] public string[] Phrases { get; set; } /// /// Conversation Id /// [JsonProperty(PropertyName = "va_ConversationId")] public string ConversationId { get; set; } /// /// Message for agent as configured in dialog /// [JsonProperty(PropertyName = "va_AgentMessage")] public string AgentMessage { get; set; } /// /// Bot Id /// [JsonProperty(PropertyName = "va_BotId")] public string BotId { get; set; } /// /// Bot Name /// [JsonProperty(PropertyName = "va_BotName")] public string BotName { get; set; } /// /// Language /// [JsonProperty(PropertyName = "va_Language")] public string Language { get; set; } /// /// MS Caller Id /// [JsonProperty(PropertyName = "MSCallerId")] public string MSCallerId { get; set; } } }