Interface MessageInput

The default interface for message input that is sent to a back-end in a message request. This represents basic text input.

interface MessageInput {
    agent_message_type?: AgentMessageType;
    message_type?: MessageInputType;
    skill_complete?: Record<string, any>;
    text?: string;
}

Hierarchy (View Summary, Expand)

Properties

agent_message_type?: AgentMessageType

For messages that are sent between the user and a human agent, we assign an agent type to the message to distinguish what type it is.

message_type?: MessageInputType

The type of user input.

skill_complete?: Record<string, any>

Optional payload received from the completion of a skill-based action by a web chat form widget.

text?: string

The text of the user input to send to the back-end.

MMNEPVFCICPMFPCPTTAAATR