-
public final class MessageAttachmentsContentKt
-
-
Method Summary
Modifier and Type Method Description final static UnitMessageAttachmentsContent(Message message, User currentUser, Function1<Message, Unit> onLongItemClick, Function1<MediaGalleryPreviewResult, Unit> onMediaGalleryPreviewResult)Represents the content that's shown in message attachments. -
-
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.
-
-
-
-