Skip to main content

status

Method
This is a method of the SendResult class in the base module.
Closed, branchable delivery outcome for the send contract. One of "sent" / "failed" / "queued" / "duplicate", derived from the existing flags so a caller of BotProtocol’s send_message can branch on the outcome without exception-handling (a swallowed exception would otherwise be a silent drop). queued (persisted to a durable outbox) and duplicate (crash-recovered possible re-send) take precedence over the bare ok flag.

Signature

Returns

SendStatus
The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/bots/base.py at line 296