ButtonElement class, inherited from the BaseInteractiveElement class, represents an interactive button element that can be added to a chat interface. It comprises of properties like button text and a flag indicating whether the button should be disabled after interaction.
Constructor
Class Usage
How to create an instance of theButtonElement class:
- Dart
ButtonElement is created with an elementId “aboutUs”, an URLNavigationAction as an action, and “About Us” as the button text.