defaultFormatter
fun defaultFormatter(context: Context, autoTranslationEnabled: Boolean, typography: StreamDesign.Typography): MessagePreviewFormatter
Builds the default message preview text formatter.
Return
The default implementation of MessagePreviewFormatter.
Parameters
context
The context to load string resources.
autoTranslationEnabled
Whether the auto-translation is enabled.
typography
The typography to use for styling.