/// <summary> /// Checks if the user has completed the get started tutorial. /// </summary> /// <param name="botData">Mandatory. User's private bot data</param> public bool hasCompletedGetStarted(IBotData botData) { return(botData.GetValueOrDefault <bool>(DataStoreKey.HasCompletedGetStarted)); }
/// <summary> /// Gets the users preferred bot personality from BotData. /// </summary> /// <param name="botData">Mandatory. Users private bot data.</param> public PersonalityChatPersona GetPreferredBotPersona(IBotData botData) { return(botData.GetValueOrDefault <PersonalityChatPersona>(DataStoreKey.PreferredBotPersona)); }
/// <summary> /// Gets the users preferred weather location from BotData. /// </summary> /// <param name="botData">Mandatory. User's private bot data.</param> public City GetPreferredWeatherLocation(IBotData botData) { return(botData.GetValueOrDefault <City>(DataStoreKey.PreferredWeatherLocation)); }
/// <summary> /// Gets the users preferred name from BotData. /// </summary> /// <param name="botData">Mandatory. Users private bot data.</param> public string GetPreferredName(IBotData botData) { return(botData.GetValueOrDefault <string>(DataStoreKey.PreferredFirstName)); }