Element Type
This is the base class for every element possible in the Interactive message component, defined by CometChat
Following are the different elements possible
- Label Element - shows fixed text in an
Interactive message
- TextInput Element- shows a component with the ability to take text input
- Dropdown Element- shows a list of options to choose one from
- Checkbox Element- shows a list of checkboxes, and can select multiple
- SingleSelect Element- show a list of options to choose one from, a different way to show radio buttons
- RadioButton Element- shows a list of radio buttons, to choose one answer from
- Button Element- shows an interactive button component, that can perform different types of actions defined inside class ActionEntity
ElementType specifies the type of interactive element.
Name | Description |
---|---|
label | An unmodifiable text description. |
text | A text input field. |
dropdown | A dropdown menu. |
checkbox | A checkbox input. |
radio | A radio button input. |
button | An interactive button. |
singleSelect | A single-selection menu. |