@Suppress("FunctionName") public fun GiphyAttachmentFactory(giphyInfoType: GiphyInfoType = GiphyInfoType.FIXED_HEIGHT_DOWNSAMPLED,giphySizingMode: GiphySizingMode = GiphySizingMode.ADAPTIVE,contentScale: ContentScale = ContentScale.Crop,): AttachmentFactory =AttachmentFactory(canHandle = { attachments -> attachments.any { it.type == ModelType.attach_giphy } },content = @Composable { modifier, state ->GiphyAttachmentContent(modifier = modifier.wrapContentSize(),attachmentState = state,giphyInfoType = giphyInfoType,giphySizingMode = giphySizingMode,contentScale = contentScale,)},)
An [AttachmentFactory] that validates and shows Giphy attachments using [GiphyAttachmentContent]. Has no "preview content", given that this attachment only exists after being sent.