Package 

Class PinnedMessageListKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit PinnedMessageList(PinnedMessageListViewModel viewModel, Modifier modifier, User currentUser, Function1<Message, Unit> onPinnedMessageClick) Default 'Pinned Messages List' component, which relies on PinnedMessageListViewModel to show and allow interactions with the pinned messages from a given channel.
      • Methods inherited from class java.lang.Object

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

      • PinnedMessageList

        @Composable() final static Unit PinnedMessageList(PinnedMessageListViewModel viewModel, Modifier modifier, User currentUser, Function1<Message, Unit> onPinnedMessageClick)

        Default 'Pinned Messages List' component, which relies on PinnedMessageListViewModel to show and allow interactions with the pinned messages from a given channel.

        Parameters:
        viewModel - The PinnedMessageListViewModel holding the data and the business logic for showing the pinned messages from a given channel.
        modifier - Modifier instance for general styling.
        currentUser - The currently logged User, used for formatting the message preview.
        onPinnedMessageClick - Action to be invoked when the user clicks on a message from the list.