send • AI Agent SDK
send: Deliver a message to a symbolic target.
send
Async
Method
</div>
This is a method of the OutboundMessengerProtocol class in the protocols module.
Deliver a message to a symbolic target.
Signature
async def send(target: str, text: str) -> 'DeliveryResult'Parameters
ParamField
strSymbolic target token (“origin”, “<platform>”, “<platform>:<chat_id>[:<thread_id>]”, or a friendly alias).
ParamField
strThe message text to send.
Returns
ResponseField
'DeliveryResult'class:DeliveryResult describing the outcome.
Used By
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 3587