/// <summary> /// Checks for an InteractiveMessage /// </summary> /// <param name="interactive">InteractiveMessage to check for</param> public static bool HasInteractiveMessage(InteractiveMessage interactive) { return(InteractiveMessages.ContainsKey(interactive.MessageId)); }
/// <summary> /// Adds an interactive message to the Interactive Message Service /// </summary> /// <param name="interactive">InteractiveMessage to add</param> public static void AddInteractiveMessage(InteractiveMessage interactive) { InteractiveMessages.Add(interactive.MessageId, interactive); }