kernl API
    Preparing search index...

    Interface MessagingRegistryOptions

    interface MessagingRegistryOptions {
        askReply?: (prompt: ReplyPrompt) => Promise<ReplyAnswer | undefined>;
        onChange?: (preferences: MessagingPreferences) => void;
        preferences?: SavedMessagingPreferences;
    }
    Index
    askReply?: (prompt: ReplyPrompt) => Promise<ReplyAnswer | undefined>

    Ask the user which provider a reply should use when the person it is for last wrote through another one. Resolve undefined on dismiss, which stops the send with denied:cancelled. Without it the message leaves through the provider the order picked.

    onChange?: (preferences: MessagingPreferences) => void

    Called with a frozen snapshot after every change to the preferences.

    Preferences saved by an earlier session. Providers named here are enabled as they are registered.