Table of Contents

Class AdaptiveCardHelper.Buttons

Namespace
Skyline.DataMiner.DcpChatIntegrationHelper.Common
Assembly
Skyline.DataMiner.DcpChatIntegrationHelper.dll
public static class AdaptiveCardHelper.Buttons
Inheritance
AdaptiveCardHelper.Buttons

Methods

ChangeDms(string)

Creates a button that requests the DataMiner bot to change the active DMS in the conversation

GetAlarmsForElement(int, int, string, Guid, Guid, string)

Creates a button that request the DataMiner bot to show the alarms of the given element

GetAlarmsForView(int, string, Guid, Guid, string)

Creates a button that request the DataMiner bot to show the alarms of the given view

GetElement(int, int, Guid, Guid, string)

Creates a button that request the DataMiner bot to show the given element

OpenUrl(Uri, string)

Creates a button to open a URL

RunCustomCommand(string, int, Guid, Guid, IEnumerable<CustomCommandInput>, string, bool)

Creates a button that request the DataMiner bot run the given custom command

The DataMiner bot will prompt the user for inputs when needed for the custom command or with a confirmation before running it depending on skipConfirmation. Default values defined on the custom command will be filled in automatically. Default value overrides can be added in predefinedInputValues