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(channel: Channel, message: Message, currentUser: User?): CharSequence

Generates a preview text for the given message.