We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25df147 commit db1a7f6Copy full SHA for db1a7f6
deltachat-rpc-client/src/deltachat_rpc_client/account.py
@@ -145,6 +145,10 @@ def create_chat(self, account: "Account") -> Chat:
145
[contact] = self.import_vcard(vcard)
146
return contact.create_chat()
147
148
+ def get_device_chat(self) -> Chat:
149
+ """Return device chat."""
150
+ return self.device_contact.create_chat()
151
+
152
def get_contact_by_id(self, contact_id: int) -> Contact:
153
"""Return Contact instance for the given contact ID."""
154
return Contact(self, contact_id)
0 commit comments