api(deltachat-rpc-client): add Account.device_contact

This commit is contained in:
link2xt
2025-03-09 22:52:06 +00:00
parent 26672900d5
commit 25df14707e

View File

@@ -205,6 +205,11 @@ class Account:
"""This account's identity as a Contact."""
return Contact(self, SpecialContactId.SELF)
@property
def device_contact(self) -> Chat:
"""This account's device contact."""
return Contact(self, SpecialContactId.DEVICE)
def get_chatlist(
self,
query: Optional[str] = None,