aigentic
0.0.4-SNAPSHOT
common
core
/
community.flock.aigentic.core.message
/
Message
Message
sealed
class
Message
Inheritors
SystemPrompt
Text
Image
ToolCalls
ToolResult
Members
Members & Extensions
Types
Image
Link copied to clipboard
data
class
Image
(
val
sender
:
Sender
,
val
image
:
String
)
:
Message
System
Prompt
Link copied to clipboard
data
class
SystemPrompt
(
val
prompt
:
String
)
:
Message
Text
Link copied to clipboard
data
class
Text
(
val
sender
:
Sender
,
val
text
:
String
)
:
Message
Tool
Calls
Link copied to clipboard
data
class
ToolCalls
(
val
toolCalls
:
List
<
ToolCall
>
)
:
Message
Tool
Result
Link copied to clipboard
data
class
ToolResult
(
val
toolCallId
:
ToolCallId
,
val
toolName
:
String
,
val
response
:
ToolResultContent
)
:
Message
Properties
sender
Link copied to clipboard
open
val
sender
:
Sender
Functions
to
Status
Link copied to clipboard
suspend
fun
Message
.
toStatus
(
)
:
List
<
AgentStatus
>