Header menu logo Nao

AgentMessage Module

Functions and values

Function or value Description

broadcast from content

Full Usage: broadcast from content

Parameters:
Returns: AgentMessage

Create a broadcast message (no specific recipient)

from : AgentId
content : string
Returns: AgentMessage

create from toAgent content

Full Usage: create from toAgent content

Parameters:
Returns: AgentMessage

Create a directed message from one agent to another

from : AgentId
toAgent : AgentId
content : string
Returns: AgentMessage

Type something to start searching.