Skip to content

Routing

InboundRoomRouter

Bases: ABC

Route an inbound message to a room (or None for auto-create).

route abstractmethod async

route(channel_id, channel_type, participant_id=None, channel_data=None)

Return room_id for the message, or None to create a new room.

DefaultInboundRoomRouter

DefaultInboundRoomRouter(store)

Bases: InboundRoomRouter

Default router: find room by channel binding, then by participant.