Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/channels / / ChannelCapabilities
Interface: ChannelCapabilities
Defined in: packages/channels/src/spi.ts:46
Static feature flags an adapter advertises so the gateway and the application can shape output without vendor-specific branching.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
edit | readonly | boolean | The channel can edit an already-delivered message in place. | packages/channels/src/spi.ts:48 |
maxTextLength | readonly | number | Hard per-message text length limit, in UTF-16 code units. | packages/channels/src/spi.ts:54 |
typing | readonly | boolean | The channel supports a typing / progress indicator. | packages/channels/src/spi.ts:50 |
voice | readonly | boolean | The channel can carry voice notes (see the SttAdapter contract in @graphorin/core/contracts). | packages/channels/src/spi.ts:52 |