Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2021-02-17 15:44:52 +0300
committerAnna Larch <anna@nextcloud.com>2021-02-18 18:11:29 +0300
commit18f5c5adb2aacb1f053e7cc8455fe289dd11d7a8 (patch)
tree3abe2a3e1296f9a77d13d2abd7938cb141c0fb5f /lib/Contracts
parent2d66dffabe4f998dc5a4f20cb9723b0dafbde095 (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.php8
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;
}