ChatUiConfig
data class ChatUiConfig(val translation: TranslationConfig = TranslationConfig(), val messageList: MessageListConfig = MessageListConfig(), val mediaGallery: MediaGalleryConfig = MediaGalleryConfig(), val composer: ComposerConfig = ComposerConfig(), val channelList: ChannelListConfig = ChannelListConfig(), val attachmentPicker: AttachmentPickerConfig = AttachmentPickerConfig(), val polls: PollsConfig = PollsConfig(), val messageActions: MessageActionsConfig = MessageActionsConfig())
Central behavioral configuration for the Chat SDK, accessible through ChatTheme.config.
Groups all feature-flag and behavioral settings by feature area so integrators have a single place to discover and configure SDK behaviour. Properties are ordered from most cross-cutting to most component-scoped.
Parameters
translation
Configuration for message translation (cross-cutting: channel list, message list, composer).
messageList
Configuration for the message list behavior.
mediaGallery
Configuration for the media gallery preview screen.
composer
Configuration for the message composer behavior.
channelList
Configuration for the channel list behavior.
attachmentPicker
Configuration for the attachment picker behavior.
polls
Configuration for the poll creation screen.
messageActions
Configuration for the message actions overlay.
Constructors
Link copied to clipboard
constructor(translation: TranslationConfig = TranslationConfig(), messageList: MessageListConfig = MessageListConfig(), mediaGallery: MediaGalleryConfig = MediaGalleryConfig(), composer: ComposerConfig = ComposerConfig(), channelList: ChannelListConfig = ChannelListConfig(), attachmentPicker: AttachmentPickerConfig = AttachmentPickerConfig(), polls: PollsConfig = PollsConfig(), messageActions: MessageActionsConfig = MessageActionsConfig())