Envelopes are the outgoing equivalent of a message. They can be created to respond to a received message, or initialised to send unprompted by input. The envelope contains address details and the content (strings or payload data) for a variety of response methods through the message adapter.
Create an envelope to dispatch unprompted or from a branch callback.
Add multi-media attachments to a message, could be buttons or files etc
Helper for attaching or writing depending on a dynamic array of items
Set room ID attribute, clear room name so adapter will use ID
Set room name attribute, clear room ID so adapter will use name
Set user attribute, overwrites room if user has room attribute
Helper to set the method to be used by message adapter to respond/send
Add string content to an envelope, could be message text or reaction
Generated using TypeDoc