AttachmentState

constructor(message: Message, onLongItemClick: (Message) -> Unit = {}, onMediaGalleryPreviewResult: (MediaGalleryPreviewResult?) -> Unit = {})

Parameters

message

Data that represents the message information.

onLongItemClick

Handler for a long click on the message item.

onMediaGalleryPreviewResult

Handler used when the user selects an action to perform from io.getstream.chat.android.compose.ui.attachments.preview.MediaGalleryPreviewActivity.