Skip to content

RoomBinding

Defined in: types.ts:90

A room binding for an agent. Either a bare alias (default PL) or an alias with a declared power level applied at room creation.

alias may be an alias (#room:server) or a room ID (!id:server). Resolved to a canonical room ID by bot-pool at bootstrap. The declared powerLevel (when set) seeds the agent’s entry in m.room.power_levels.users at room creation; the daemon never reads or modifies power levels after that — promote/demote in the UI is canonical.

Properties

alias

alias: string

Defined in: types.ts:92

Room alias (typical) or room ID.


powerLevel?

optional powerLevel?: number

Defined in: types.ts:98

Power level the agent should hold in this room at the moment it is created. Omitted = users_default (effectively 0). Not reconciled after creation.