Skip to content

Channel Models

ChannelBinding

Bases: BaseModel

A channel's attachment to a room.

can_write property

can_write

RFC §7.5 — whether this binding may write events into the room.

True iff the binding has write access (READ_WRITE or WRITE_ONLY) and is not muted. Gates both direct injection into the timeline (inbound pipeline) and source broadcast (event router).

ChannelCapabilities

Bases: BaseModel

What a channel can do.

ChannelOutput

Bases: BaseModel

Output produced by a channel after receiving an event.

empty classmethod

empty()

Create an empty output with no responses or side effects.

RateLimit

Bases: BaseModel

Rate limiting configuration for a channel.

RetryPolicy

Bases: BaseModel

Configures retry behaviour for channel delivery.