Set the metadata provider this service should use. When unset, falls back to Metadata.Provider.
Create attachment reference tokens for message text. These tokens are stored in the Message field to reference attachments.
Create a thumbnail from an image file. Returns a base64 data URL of the thumbnail.
Get image dimensions from a file
Load attachments for a single message
OptionalcontextUser: UserInfoLoad all attachments for a list of conversation detail IDs. Returns a map of ConversationDetailID -> MessageAttachment[]
OptionalcontextUser: UserInfoProcess a file and create a PendingAttachment. This creates the data structure needed for the mention editor component.
Save pending attachments to the database. Returns the saved attachment entities.
ID of the conversation detail to attach to
Array of pending attachments from the mention editor
OptionalcontextUser: UserInfoUser context for the operation
Service for managing conversation attachments. Handles loading, saving, and converting attachments between different formats.