button

type: meya.button.trigger
class: ButtonTrigger
path: /meya/button/trigger/trigger.py
signature: button_id

Fields

fieldsignaturerequiredtypedefaultdescription               
specSpecnullOverride the original spec for this element
botBotRefnullBot used to evaluate this trigger
actionTriggerActionEntry
ActionComponentSpec
Action executed if this trigger matches
whentyping.Anytrue
confidenceRealnullCustom confidence override value for trigger matches
button_idstr
textstrnull

Examples

Basic

triggers:
  - button_id: STRING
steps:
  - say: STRING

Full

type: meya.button.trigger
spec:
  type: STRING
  data:
    STRING: ANY
  timeout: 123
  trigger_when: ANY
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
button_id: STRING
text: STRING