Skip to main content

enqueue

AsyncMethod
This is a method of the OutboundDeliveryProtocol class in the protocols module.
Persist an outbound message for delivery.

Signature

Parameters

str
required
Unique key to prevent duplicate sends
str
required
Target channel identifier (e.g., “telegram:12345”)
Dict[str, Any]
required
Message payload to deliver
Optional
Optional metadata for tracking/routing

Returns

str
Unique entry key for tracking this message

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1479