Skip to content

Commit 1e31f3e

Browse files
committed
docs(deltachat-rpc-client): document Account.import_vcard()
1 parent 9ff1b92 commit 1e31f3e

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

+3
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ def make_vcard(self, contacts: list[Contact]) -> str:
138138
return self._rpc.make_vcard(self.id, contact_ids)
139139

140140
def import_vcard(self, vcard: str) -> list[Contact]:
141+
"""Import vCard.
142+
143+
Return created or modified contacts in the order they appear in vCard."""
141144
contact_ids = self._rpc.import_vcard_contents(self.id, vcard)
142145
return [Contact(self, contact_id) for contact_id in contact_ids]
143146

0 commit comments

Comments
 (0)