ChannelMediaAttachmentsItemParams

data class ChannelMediaAttachmentsItemParams(val index: Int, val item: ChannelAttachmentsViewState.Content.Item, val onClick: () -> Unit, val modifier: Modifier = Modifier)

Parameters for ChatComponentFactory.ChannelMediaAttachmentsItem.

Parameters

index

The index of the item.

item

The channel media attachment item.

onClick

Action invoked when the item is clicked.

modifier

Modifier for styling.

Constructors

Link copied to clipboard
constructor(index: Int, item: ChannelAttachmentsViewState.Content.Item, onClick: () -> Unit, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
val index: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onClick: () -> Unit