- Knowledge Base
- Homa Belly SDK
- What's Next?
Customer Support
Starting from Homa Belly Core 1.5
You can easily add Customer Support functionalities with Homa Belly, using the HomaGames.HomaBelly.CustomerSupport class:
/// <summary>
/// Check if the Customer Support is ready to be used.
/// </summary>
/// <returns>True if initialised</returns>
public static bool IsInitialised()
/// <summary>
/// Shows the FAQ
/// </summary>
public static void ShowFAQs()
/// <summary>
/// Use this to open the conversation window from the settings window
/// </summary>
public static void OpenConversationWindowFromSettings()
/// <summary>
/// Use this to open the conversation window from the rating popup
/// </summary>
public static void OpenConversationWindowFromRatePopup()
/// <summary>
/// Use this to open the conversation window with custom tags for context
/// </summary>
/// <param name="tags">List of tag to filter issues in the Customer Support dashboard</param>
/// <param name="customMetadata">Add context to the issue with extra meta data</param>
public static void OpenConversationWindow(string[] tags = null,Dictionary<string,object> customMetadata = null)
/// <summary>
/// Get the number of unread messages from support
/// </summary>
/// <param name="onComplete">Callback with the number of unread messages</param>
public static void GetUnreadMessagesAsync(Action<int> onComplete = null)