Skip to main content
Version: v4

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

  1. Label Element - shows fixed text in an Interactive message
  2. TextInput Element- shows a component with the ability to take text input
  3. Dropdown Element- shows a list of options to choose one from
  4. Checkbox Element- shows a list of checkboxes, and can select multiple
  5. SingleSelect Element- show a list of options to choose one from, a different way to show radio buttons
  6. RadioButton Element- shows a list of radio buttons, to choose one answer from
  7. 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.

NameDescription
labelAn unmodifiable text description.
textA text input field.
dropdownA dropdown menu.
checkboxA checkbox input.
radioA radio button input.
buttonAn interactive button.
singleSelectA single-selection menu.