Interface ChannelAuthConfig

Authentication configuration passed to an adapter during initialization.

interface ChannelAuthConfig {
    platform: ChannelPlatform;
    credential: string;
    params?: Record<string, string>;
}

Properties

platform: ChannelPlatform

Platform this config targets.

credential: string

Primary credential (bot token, API key, session data, etc.).

params?: Record<string, string>

Additional auth parameters (e.g., webhook URL, app secret).