defaultFactories
Default attachment factories we provide, which can transform image, file and link attachments.
Return
A List of various AttachmentFactory instances that provide different attachments support.
Parameters
A lambda that provides the ChatClient instance.
The limit of how long the link attachment descriptions can be.
Used to modify the quality and dimensions of the rendered Giphy attachments.
Sets the Giphy container sizing strategy. Setting it to automatic makes the container capable of adaptive resizing and ignore StreamDimens.attachmentsContentGiphyWidth and StreamDimens.attachmentsContentGiphyHeight dimensions, however you can still clip maximum dimensions using StreamDimens.attachmentsContentGiphyMaxWidth and StreamDimens.attachmentsContentGiphyMaxHeight. Setting it to fixed size mode will make it respect all given dimensions.
Used to determine the way Giphys are scaled inside the Image composable.
Used by the media gallery. If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it. Set to false by default.
Lambda called when a uploading attachment content item gets clicked.
Lambda called when a link attachment content item gets clicked.
Lambda called when a giphy attachment content item gets clicked.
Lambda called when a image or video attachment content item gets clicked.
Lambda called when a file attachment content item gets clicked.
Lambda called to determine if the file size should be shown for a given attachment.