im_core/attachments/
mod.rs1mod dto;
2pub(crate) mod manifest;
3pub(crate) mod selection;
4mod service;
5
6pub use self::dto::{
7 AttachmentDestination, AttachmentInput, AttachmentSendRequest, AttachmentSendResult,
8 DownloadAttachmentRequest, DownloadedAttachment, DownloadedAttachmentDestination,
9 SendConversationAttachmentRequest, UploadedAttachment,
10};
11pub use self::manifest::{
12 attachment_manifest_content_type, manifest_content_string, AttachmentDescriptor,
13 AttachmentManifest, PreparedAttachment,
14};
15pub use self::selection::{
16 AttachmentSelection, ERR_ATTACHMENT_ID_REQUIRED, ERR_ATTACHMENT_MESSAGE_INVALID,
17 ERR_ATTACHMENT_NOT_FOUND,
18};
19pub use self::service::AttachmentService;