Skip to main content
The 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.

Parameters

Button Properties

Class Usage

How to create an instance of the ButtonElement class:
In this example, a new instance of ButtonElement is created with an elementId “id”, an URLNavigationAction as an action, and “About Us” as the button text.