MessagePreviewFormatter

An interface that allows to generate a preview text for the given message.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun formatMessagePreview(message: Message, currentUser: User?): AnnotatedString

Generates a preview text for the given message.