Package 

Class MessageAttachmentsContentKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit MessageAttachmentsContent(Message message, User currentUser, Function1<Message, Unit> onLongItemClick, Function1<MediaGalleryPreviewResult, Unit> onMediaGalleryPreviewResult) Represents the content that's shown in message attachments.
      • Methods inherited from class java.lang.Object

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

      • MessageAttachmentsContent

        @Composable() final static Unit MessageAttachmentsContent(Message message, User currentUser, Function1<Message, Unit> onLongItemClick, Function1<MediaGalleryPreviewResult, Unit> onMediaGalleryPreviewResult)

        Represents the content that's shown in message attachments. We decide if we need to show link previews or other attachments.

        Parameters:
        message - The message that contains the attachments.
        currentUser - The current user that's logged in.
        onLongItemClick - Handler for long item taps on this content.
        onMediaGalleryPreviewResult - Handler when the user selects a message option in the Media Gallery Preview screen.