Package 

Class QuotedMessageKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit QuotedMessage(Message message, User currentUser, Function1<Message, Unit> onLongItemClick, Function1<Message, Unit> onQuotedMessageClick, Modifier modifier, Message replyMessage, Function1<Message, Unit> leadingContent, Function2<RowScope, Message, Unit> centerContent, Function1<Message, Unit> trailingContent) Wraps the quoted message into a component that shows only the sender avatar, text and single attachment preview.
      final static Unit DefaultQuotedMessageCenterContent(RowScope $self, Message message, User currentUser, Message replyMessage) Represents the default content shown in the center of the quoted message wrapped inside a message bubble.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • QuotedMessage

        @Composable() final static Unit QuotedMessage(Message message, User currentUser, Function1<Message, Unit> onLongItemClick, Function1<Message, Unit> onQuotedMessageClick, Modifier modifier, Message replyMessage, Function1<Message, Unit> leadingContent, Function2<RowScope, Message, Unit> centerContent, Function1<Message, Unit> trailingContent)

        Wraps the quoted message into a component that shows only the sender avatar, text and single attachment preview.

        Parameters:
        message - The quoted message to show.
        currentUser - The currently logged in user.
        onLongItemClick - Handler when the item is long clicked.
        onQuotedMessageClick - Handler for quoted message click action.
        modifier - Modifier for styling.
        replyMessage - The message that contains the reply.
        leadingContent - The content shown at the start of the quoted message.
        centerContent - The content shown at the center of the quoted message.
        trailingContent - The content shown at the end of the quoted message.
      • DefaultQuotedMessageCenterContent

        @Composable() final static Unit DefaultQuotedMessageCenterContent(RowScope $self, Message message, User currentUser, Message replyMessage)

        Represents the default content shown in the center of the quoted message wrapped inside a message bubble.

        Parameters:
        message - The quoted message.
        currentUser - The currently logged in user.
        replyMessage - The message that contains the reply.