From 8de92e54ebc05b9c4f2a5a5cda4e09d790cc4fcf Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 17 May 2024 23:39:43 +0000 Subject: [PATCH] api(deltachat-rpc-client): add Contact.make_vcard() --- deltachat-rpc-client/src/deltachat_rpc_client/contact.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/contact.py b/deltachat-rpc-client/src/deltachat_rpc_client/contact.py index 8f3c09d7f..eefa474f1 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/contact.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/contact.py @@ -60,3 +60,6 @@ class Contact: self.account, self._rpc.create_chat_by_contact_id(self.account.id, self.id), ) + + def make_vcard(self) -> str: + return self._rpc.make_vcard(self.account.id, [self.id])