Builders for message objects.
Methods
(static) user(input) → {Object}
Build a user message from input, splitting it into an info envelope and a list of parts that reference the message and session ids.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
input | Object | Message input including Properties
|
Returns:
The assembled message info and parts.
- Type:
- Object