Learn more: https://www.twilio.com/docs/flex/developer/messaging/api/chat-channel
Element details
type: meya.twilio.flex.component.end_chat
class: TwilioFlexEndChatComponent
path: /meya/twilio/flex/component/end_chat.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
text | The last message sent to the agent before closing the Flex channel. | ○ | ○ | null | str |
integration | ◉ | ○ | TwilioBaseIntegrationRef | ||
Usage reference
Basic
triggers:
- keyword: meya.twilio.flex.component.end_chat
steps:
- type: meya.twilio.flex.component.end_chat
integration: integration.generic
Full
triggers:
- keyword: meya.twilio.flex.component.end_chat
steps:
- type: meya.twilio.flex.component.end_chat
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
text: STRING
integration: integration.generic