Skip to main content

send

AsyncMethod
This is a method of the OutboundMessengerProtocol class in the protocols module.
Deliver a message to a symbolic target.

Signature

Parameters

str
required
Symbolic target token (“origin”, “<platform>”, “<platform>:<chat_id>[:<thread_id>]”, or a friendly alias).
str
required
The message text to send.

Returns

'DeliveryResult'
class:DeliveryResult describing the outcome.

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2547