format

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

Formats the given message text.

Return

The formatted message text.

Parameters

message

The message to format.

currentUser

The currently logged in user.