Properties
Optional chatTitle
chatTitle?: string
Optional chatUserId
chatUserId?: string
hasChanges
hasChanges: boolean
Methods
onAddSource
- onAddSource(source: Source | Source[], hasChanges?: boolean): void
Parameters
Optional hasChanges: boolean
Returns void
onRemoveSource
- onRemoveSource(source: Source): void
onSelectChat
Parameters
chatId: string
Optional chatTitle: string
Optional sources: Source[]
Returns void
onSelectSource
- onSelectSource(source?: Source): void
onSetTitle
- onSetTitle(title?: string): void
onSetUserId
- onSetUserId(chatUserId?: string): void
Parameters
Optional chatUserId: string
Returns void
setHasChanges
- setHasChanges(hasChanges: boolean): void