Skip to content

Commit 491d6ab

Browse files
committed
docs(deltachat-rpc-client): document Account.import_vcard()
1 parent 8e9c790 commit 491d6ab

File tree

1 file changed

+3
-0
lines changed
  • deltachat-rpc-client/src/deltachat_rpc_client

1 file changed

+3
-0
lines changed

deltachat-rpc-client/src/deltachat_rpc_client/account.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ def make_vcard(self, contacts: list[Contact]) -> str:
141141
return self._rpc.make_vcard(self.id, contact_ids)
142142

143143
def import_vcard(self, vcard: str) -> list[Contact]:
144+
"""Import vCard.
145+
146+
Return created or modified contacts in the order they appear in vCard."""
144147
contact_ids = self._rpc.import_vcard_contents(self.id, vcard)
145148
return [Contact(self, contact_id) for contact_id in contact_ids]
146149

0 commit comments

Comments
 (0)