Companion

public class Companion

Properties

Link copied to clipboard
public final static Message.Companion INSTANCE

Functions

Link copied to clipboard
public final Message createForPreview(CombineMsgItem item, String currentUserId)

Creates a display-only Message from a ai.nexconn.chat.message.model.CombineMsgItem for rendering in the combine-forward preview page.

public final Message createForPreview(CombineMsgItem item, String currentUserId, ChannelType fallbackChannelType, String fallbackTargetId)

Creates a display-only Message from a combined message item with optional channel fallback.

Link copied to clipboard
public final Message createLocalMessage(ChannelIdentifier channelIdentifier, MessageContent content)

Creates a local-only UI message that is not persisted or counted. Used for synthetic messages like history dividers.