Interface ChannelSessionLike
Properties
ReadonlychannelId
channelId: string
Methods
receiveIncoming
- receiveIncoming(msg): Promise<void>
Returns Promise<void>
sendOutgoing
- sendOutgoing(opts): Promise<ChannelMessage>
Parameters
- opts: {
body: unknown;
repliesTo?: number;
sentAt?: number;
type: ChannelMessageType;
}body: unknown
OptionalrepliesTo?: number
OptionalsentAt?: number
Minimal surface of
ChannelSessionthe adapter depends on. Declared structurally so tests can inject a fake without real signing keys.