Interface ChannelBindingConfig

Binding between an agent (seed) and a channel on an external platform. Extended from the original Wunderland ChannelBinding with additional fields for the full channel system.

interface ChannelBindingConfig {
    bindingId: string;
    seedId: string;
    ownerUserId: string;
    platform: ChannelPlatform;
    channelId: string;
    conversationType: ConversationType;
    credentialId?: string;
    isActive: boolean;
    autoBroadcast: boolean;
    platformConfig?: Record<string, unknown>;
}

Properties

bindingId: string

Unique binding identifier.

seedId: string

Agent seed ID.

ownerUserId: string

Owner user ID (for permission checks).

platform: ChannelPlatform

Target platform.

channelId: string

Platform-native channel/chat ID.

conversationType: ConversationType

Type of conversation.

credentialId?: string

Credential ID (references encrypted credential in vault).

isActive: boolean

Whether this binding is active.

autoBroadcast: boolean

Whether agent posts should auto-broadcast to this channel.

platformConfig?: Record<string, unknown>

Platform-specific configuration.