Module message

Source
Expand description

Message and response types for Universal Bot

This module defines the core message structures used for communication between the bot and its users, as well as internal message passing.

Structs§

Attachment
An attachment to a message
Message
A message sent to the bot
MessageFlags
Message flags for special handling
Response
A response from the bot
ResponseError
Response error information
ResponseFlags
Response flags
Suggestion
A suggestion for follow-up actions
TokenUsage
Token usage information

Enums§

MessageType
Type of message
ResponseType
Type of response
SuggestionAction
Action for a suggestion