Skip to content

Delivery

InboundMessage

Bases: BaseModel

A message received from an external provider.

For stateful channels (voice, persistent WebSocket), set session to the session object. After the hook pipeline passes, process_inbound will call channel.connect_session() to bind the long-lived session to the room.

InboundResult

Bases: BaseModel

Result of processing an inbound message.

DeliveryResult

Bases: BaseModel

Result of delivering an event to a channel.

ProviderResult

Bases: BaseModel

Result from a provider delivery attempt.