MessageContentFactory

Deprecated

This class is deprecated and will be removed in the future. Please use ChatComponentFactory and provide it to the ChatTheme instead.

Factory for creating message contents that are used to represent the chat message items.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Represents the default content of a deleted message.

Link copied to clipboard

Represents the default message footer.

Link copied to clipboard
open fun MessageGiphyContent(message: Message, currentUser: User?, onGiphyActionClick: (GiphyAction) -> Unit)

Represents the default Giphy message content.

Link copied to clipboard
open fun MessageTextContent(    message: Message,     currentUser: User?,     onLongItemClick: (Message) -> Unit,     onLinkClick: (Message, String) -> Unit?,     onUserMentionClick: (User) -> Unit)

Represents the default regular message content.

Link copied to clipboard

Represents the default message visibility content.

Link copied to clipboard
open fun QuotedMessageContent(    message: Message,     currentUser: User?,     onLongItemClick: (Message) -> Unit,     onQuotedMessageClick: (Message) -> Unit)

Represents the default quoted message content.

Link copied to clipboard