mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +03:00
api(deltachat-rpc-client): add Message.get_info()
This commit is contained in:
@@ -64,6 +64,10 @@ class Message:
|
||||
def get_webxdc_status_updates(self, last_known_serial: int = 0) -> list:
|
||||
return json.loads(self._rpc.get_webxdc_status_updates(self.account.id, self.id, last_known_serial))
|
||||
|
||||
def get_info(self) -> str:
|
||||
"""Return message info."""
|
||||
return self._rpc.get_message_info(self.account.id, self.id)
|
||||
|
||||
def get_webxdc_info(self) -> dict:
|
||||
return self._rpc.get_webxdc_info(self.account.id, self.id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user