Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/channels / / ChannelIdentity
Interface: ChannelIdentity
Defined in: packages/channels/src/spi.ts:34
The identity triple of a remote conversation. All three segments are adapter-scoped opaque strings:
channelId- the adapter instance ('telegram','slack-work'),accountId- the bot/account identity on that channel,peerId- the remote peer (user, chat, thread).
The triple is a ROUTING SELECTOR, never an authorization token: peers assert their own identity through the vendor transport, so authorization decisions belong to the access policy (pairing / allowlist), not to string comparison on the triple.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
accountId | readonly | string | packages/channels/src/spi.ts:36 |
channelId | readonly | string | packages/channels/src/spi.ts:35 |
peerId | readonly | string | packages/channels/src/spi.ts:37 |