Package 

Class PinnedMessageItemKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit PinnedMessageItem(Message message, User currentUser, Function1<Message, Unit> onPinnedMessageClick, Modifier modifier, Function2<RowScope, Message, Unit> leadingContent, Function2<RowScope, Message, Unit> centerContent, Function2<RowScope, Message, Unit> trailingContent) The basic pinned message item that displays the channel and the message in a list, and exposes click action.
      • Methods inherited from class java.lang.Object

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

      • PinnedMessageItem

        @Composable() final static Unit PinnedMessageItem(Message message, User currentUser, Function1<Message, Unit> onPinnedMessageClick, Modifier modifier, Function2<RowScope, Message, Unit> leadingContent, Function2<RowScope, Message, Unit> centerContent, Function2<RowScope, Message, Unit> trailingContent)

        The basic pinned message item that displays the channel and the message in a list, and exposes click action.

        Parameters:
        message - The Message to be displayed.
        currentUser - The currently logged in User.
        onPinnedMessageClick - The action to be executed when the item is clicked.
        leadingContent - Customizable composable function that represents the leading content of a pinned message, usually the avatar that holds an image of the user that sent the message.
        centerContent - Customizable composable function that represents the center content of a pinned message, usually holding information about the message and who and where it was sent.
        trailingContent - Customizable composable function that represents the trailing content of a pinned message, usually information about the date where the message was sent.