Home / @sym20/core-chat / OverlayFactory

OverlayFactory type

Function to create overlay views for a specific chat view.

The function will be invoked whenever a chat view is created, to give the opportunity to add zero or more overlay views to the chat.

Signature
export declare type OverlayFactory = (conversationId: ConversationId) => Promise<IOverlayView[]>;