Package 

Object QuotedMessageTextFormatter.Companion

    • Method Detail

      • defaultFormatter

        @Composable() final QuotedMessageTextFormatter defaultFormatter(Boolean autoTranslationEnabled, Context context, Boolean isInDarkMode, StreamTypography typography, StreamColors colors, StreamShapes shapes, Function1<Boolean, TextStyle> textStyle, Function1<Boolean, TextStyle> linkStyle, Function1<Boolean, Color> mentionColor, Function4<AnnotatedString.Builder, Message, Message, User, Unit> builder)

        Builds the default message text formatter.

        Parameters:
        autoTranslationEnabled - Whether the auto-translation is enabled.
        context - The context to load resources.
        isInDarkMode - Whether the app is in dark mode.
        typography - The typography to use for styling.
        colors - The colors to use for styling.
        textStyle - The text style to use for styling.
        mentionColor - The color to use for mentions.
        builder - The builder to use for customizing the text.
      • defaultFormatter

        @Composable() final QuotedMessageTextFormatter defaultFormatter(Boolean autoTranslationEnabled, Context context, Boolean isInDarkMode, StreamTypography typography, StreamColors colors, StreamShapes shapes, MessageTheme ownMessageTheme, MessageTheme otherMessageTheme, Function4<AnnotatedString.Builder, Message, Message, User, Unit> builder)

        Builds the default message text formatter.

        Parameters:
        autoTranslationEnabled - Whether the auto-translation is enabled.
        context - The context to load resources.
        isInDarkMode - Whether the app is in dark mode.
        typography - The typography to use for styling.
        colors - The colors to use for styling.
        ownMessageTheme - The theme to use for the current user's messages.
        otherMessageTheme - The theme to use for other users' messages.
        builder - The builder to use for customizing the text.