diff options
author | Anna Larch <anna@nextcloud.com> | 2021-02-17 15:44:52 +0300 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2021-02-18 18:11:29 +0300 |
commit | 18f5c5adb2aacb1f053e7cc8455fe289dd11d7a8 (patch) | |
tree | 3abe2a3e1296f9a77d13d2abd7938cb141c0fb5f /lib/Contracts | |
parent | 2d66dffabe4f998dc5a4f20cb9723b0dafbde095 (diff) |
Add attachment dl method, add parts query wrapper
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/Contracts')
-rw-r--r-- | lib/Contracts/IMailManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Contracts/IMailManager.php b/lib/Contracts/IMailManager.php index ca17c0edf..9b3f48e41 100644 --- a/lib/Contracts/IMailManager.php +++ b/lib/Contracts/IMailManager.php @@ -221,4 +221,12 @@ interface IMailManager { */ public function enableMailboxBackgroundSync(Mailbox $mailbox, bool $syncInBackground): Mailbox; + + /** + * @param Account $account + * @param Mailbox $mailbox + * @param Message $message + * @return array + */ + public function getMailAttachments(Account $account, Mailbox $mailbox, Message $message) : array; } |