deltachat-rpc-client 1.158.0__py3-none-any.whl → 1.159.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- deltachat_rpc_client/message.py +4 -0
- deltachat_rpc_client/pytestplugin.py +1 -1
- {deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/METADATA +1 -1
- {deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/RECORD +8 -8
- {deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/WHEEL +0 -0
- {deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/entry_points.txt +0 -0
- {deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/licenses/LICENSE +0 -0
- {deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/top_level.txt +0 -0
deltachat_rpc_client/message.py
CHANGED
|
@@ -64,6 +64,10 @@ class Message:
|
|
|
64
64
|
def get_webxdc_status_updates(self, last_known_serial: int = 0) -> list:
|
|
65
65
|
return json.loads(self._rpc.get_webxdc_status_updates(self.account.id, self.id, last_known_serial))
|
|
66
66
|
|
|
67
|
+
def get_info(self) -> str:
|
|
68
|
+
"""Return message info."""
|
|
69
|
+
return self._rpc.get_message_info(self.account.id, self.id)
|
|
70
|
+
|
|
67
71
|
def get_webxdc_info(self) -> dict:
|
|
68
72
|
return self._rpc.get_webxdc_info(self.account.id, self.id)
|
|
69
73
|
|
|
@@ -79,7 +79,7 @@ class ACFactory:
|
|
|
79
79
|
) -> Message:
|
|
80
80
|
if not from_account:
|
|
81
81
|
from_account = (self.get_online_accounts(1))[0]
|
|
82
|
-
to_contact = from_account.create_contact(to_account
|
|
82
|
+
to_contact = from_account.create_contact(to_account)
|
|
83
83
|
if group:
|
|
84
84
|
to_chat = from_account.create_group(group)
|
|
85
85
|
to_chat.add_contact(to_contact)
|
|
@@ -7,13 +7,13 @@ deltachat_rpc_client/const.py,sha256=geXY_H-JHn2HLsYPAAWbwnX5LOksU7zqDZh3AOwmUpg
|
|
|
7
7
|
deltachat_rpc_client/contact.py,sha256=kbqVI93V7-VSCjH8Hfm5M9a62HMnOjBKuw_g6iJN7w8,1966
|
|
8
8
|
deltachat_rpc_client/deltachat.py,sha256=c22_2GX71we6JwQ4yjP-S89mrUYPPbEb3rrPwHHeXt4,1538
|
|
9
9
|
deltachat_rpc_client/events.py,sha256=qYgydsbuWYxQ1PO5ms-D8I5aHpTIiQ6Fg9p23QTvqf0,9877
|
|
10
|
-
deltachat_rpc_client/message.py,sha256=
|
|
10
|
+
deltachat_rpc_client/message.py,sha256=6Jf2WlOp8HOYpjPLXXa_5_rGTg6wVN27PXnF3XIjpGQ,3156
|
|
11
11
|
deltachat_rpc_client/py.typed,sha256=nGQ9Itq-bkXBn5Ri1JIR0oYnDNv7LDRfkowxBSSqVTM,60
|
|
12
|
-
deltachat_rpc_client/pytestplugin.py,sha256=
|
|
12
|
+
deltachat_rpc_client/pytestplugin.py,sha256=SnuGKk06Yd_Dzhy7UpnuetfiPqF9kHV9fsFNlXqvE44,4881
|
|
13
13
|
deltachat_rpc_client/rpc.py,sha256=7RIdyEDwOXU0ACU0LanVqTT1RuIDci5iDr7dNEDE_tE,6554
|
|
14
|
-
deltachat_rpc_client-1.
|
|
15
|
-
deltachat_rpc_client-1.
|
|
16
|
-
deltachat_rpc_client-1.
|
|
17
|
-
deltachat_rpc_client-1.
|
|
18
|
-
deltachat_rpc_client-1.
|
|
19
|
-
deltachat_rpc_client-1.
|
|
14
|
+
deltachat_rpc_client-1.159.0.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
|
|
15
|
+
deltachat_rpc_client-1.159.0.dist-info/METADATA,sha256=H-aDCS6HxjWWkNQA6XfaE_FFkj3ATNY4XE_voEKqqOo,2175
|
|
16
|
+
deltachat_rpc_client-1.159.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
17
|
+
deltachat_rpc_client-1.159.0.dist-info/entry_points.txt,sha256=VHpX6EnKBaNj89qJWctApThnMa8suyaamfZEnQacXgc,81
|
|
18
|
+
deltachat_rpc_client-1.159.0.dist-info/top_level.txt,sha256=ePNMkY10htGrLiLydH1ITvYFM3LcTEa51HyPqJ40hDk,21
|
|
19
|
+
deltachat_rpc_client-1.159.0.dist-info/RECORD,,
|
|
File without changes
|
{deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{deltachat_rpc_client-1.158.0.dist-info → deltachat_rpc_client-1.159.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|