TranslationConfig

data class TranslationConfig(val enabled: Boolean = true, val showOriginalEnabled: Boolean = true)

Behavioral configuration for message translation.

This is a cross-cutting concern that affects how message text is resolved in the channel list (message previews), message list (display and labels), composer (quoted replies), and clipboard.

Parameters

enabled

Whether automatic message translation is enabled.

showOriginalEnabled

Whether users can toggle to see the original (untranslated) text.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, showOriginalEnabled: Boolean = true)

Properties

Link copied to clipboard
val enabled: Boolean = true
Link copied to clipboard