formatMessageTitle

abstract fun formatMessageTitle(message: Message, currentUser: User?): AnnotatedString

Generates a title text for the given message.

Return

The formatted text representation for the given message.

Parameters

message

The message whose data is used to generate the preview text.