MessageContentFactory

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

Constructors

Link copied to clipboard
constructor()

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, 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