From 491d6abe49e2543ed4eebfbd5c9fda996aeb41f2 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 10 Mar 2025 00:44:53 +0000 Subject: [PATCH] docs(deltachat-rpc-client): document Account.import_vcard() --- deltachat-rpc-client/src/deltachat_rpc_client/account.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/account.py b/deltachat-rpc-client/src/deltachat_rpc_client/account.py index 74dbd3e37..861e3a536 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/account.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/account.py @@ -141,6 +141,9 @@ class Account: return self._rpc.make_vcard(self.id, contact_ids) def import_vcard(self, vcard: str) -> list[Contact]: + """Import vCard. + + Return created or modified contacts in the order they appear in vCard.""" contact_ids = self._rpc.import_vcard_contents(self.id, vcard) return [Contact(self, contact_id) for contact_id in contact_ids]