deltachat-rpc-client 2.13.0__py3-none-any.whl → 2.15.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.

Potentially problematic release.


This version of deltachat-rpc-client might be problematic. Click here for more details.

@@ -289,3 +289,8 @@ class Chat:
289
289
  f.write(vcard.encode())
290
290
  f.flush()
291
291
  self._rpc.send_msg(self.account.id, self.id, {"viewtype": ViewType.VCARD, "file": f.name})
292
+
293
+ def place_outgoing_call(self, place_call_info: str) -> Message:
294
+ """Starts an outgoing call."""
295
+ msg_id = self._rpc.place_outgoing_call(self.account.id, self.id, place_call_info)
296
+ return Message(self.account, msg_id)
@@ -73,6 +73,10 @@ class EventType(str, Enum):
73
73
  CHATLIST_ITEM_CHANGED = "ChatlistItemChanged"
74
74
  ACCOUNTS_CHANGED = "AccountsChanged"
75
75
  ACCOUNTS_ITEM_CHANGED = "AccountsItemChanged"
76
+ INCOMING_CALL = "IncomingCall"
77
+ INCOMING_CALL_ACCEPTED = "IncomingCallAccepted"
78
+ OUTGOING_CALL_ACCEPTED = "OutgoingCallAccepted"
79
+ CALL_ENDED = "CallEnded"
76
80
  CONFIG_SYNCED = "ConfigSynced"
77
81
  WEBXDC_REALTIME_DATA = "WebxdcRealtimeData"
78
82
  WEBXDC_REALTIME_ADVERTISEMENT_RECEIVED = "WebxdcRealtimeAdvertisementReceived"
@@ -102,3 +102,11 @@ class Message:
102
102
  def send_webxdc_realtime_data(self, data) -> None:
103
103
  """Send data to the realtime channel."""
104
104
  yield self._rpc.send_webxdc_realtime_data.future(self.account.id, self.id, list(data))
105
+
106
+ def accept_incoming_call(self, accept_call_info):
107
+ """Accepts an incoming call."""
108
+ self._rpc.accept_incoming_call(self.account.id, self.id, accept_call_info)
109
+
110
+ def end_call(self):
111
+ """Ends incoming or outgoing call."""
112
+ self._rpc.end_call(self.account.id, self.id)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deltachat-rpc-client
3
- Version: 2.13.0
3
+ Version: 2.15.0
4
4
  Summary: Python client for Delta Chat core JSON-RPC interface
5
5
  Classifier: Development Status :: 5 - Production/Stable
6
6
  Classifier: Intended Audience :: Developers
@@ -1,19 +1,19 @@
1
1
  deltachat_rpc_client/__init__.py,sha256=zroJARiq9HBi7Ln03KlICOUJHSjm3CGIFkHfXILEdOQ,567
2
2
  deltachat_rpc_client/_utils.py,sha256=v0iWVSa6S-s078GgnnhflCRhA9pfWI-CfK8mjZ4zjXc,6393
3
3
  deltachat_rpc_client/account.py,sha256=RrZEf0jHegScCcmC2rP6c9JeQ_WQJxwP1T6W1-8bgU8,18938
4
- deltachat_rpc_client/chat.py,sha256=LTZSYHC24bo5fDAX1XCDP79XaHIyuPZS_-zzD0vu1Rw,11238
4
+ deltachat_rpc_client/chat.py,sha256=m30Hwg409xrBCsCQlyz0s27wki-hfhHiT0gHzWpDObc,11481
5
5
  deltachat_rpc_client/client.py,sha256=UeCJov-ZvB3WMzl_6aJEESGRQCdvS3UAKFL4Adar6cg,7206
6
- deltachat_rpc_client/const.py,sha256=wwaXSt7gXdjveT_Hpy963WXz7AoUZ0hNS4-V9pmaX1U,6647
6
+ deltachat_rpc_client/const.py,sha256=r3Mke40sYX39rQ6nPZTY22KGwdskPHlp05WeXFTkHrA,6815
7
7
  deltachat_rpc_client/contact.py,sha256=NLh1XNnD_LQf27pNcVgqNN97Gbv190VSCuEyjjce4L4,1893
8
8
  deltachat_rpc_client/deltachat.py,sha256=4KpiHbpfXM_LmbG-OvtDACK9W09UH0tsJyFunfH9TR4,1544
9
9
  deltachat_rpc_client/events.py,sha256=Y45LoGlQy0i1U-LhoqF9njqJWA8v4b-XHfXZ4VOr1TQ,10205
10
- deltachat_rpc_client/message.py,sha256=o5XqsfwNS-MFv7ptjTA4no-OsIDliIopsMp3vs8qBwA,3946
10
+ deltachat_rpc_client/message.py,sha256=OCxCEkPLJRHaZJnM6rHx2Dh0LnBSQI7yvpHvWXi1tOs,4248
11
11
  deltachat_rpc_client/py.typed,sha256=nGQ9Itq-bkXBn5Ri1JIR0oYnDNv7LDRfkowxBSSqVTM,60
12
12
  deltachat_rpc_client/pytestplugin.py,sha256=asnQUJ9w386VS1OaHTWvzq8Yz0kD9p2RaJ_DqYXaJ1U,5737
13
13
  deltachat_rpc_client/rpc.py,sha256=AUY8UJP7NlRSE5ewJs9jGxJdK8etKqsCEFWiIqnX5T8,6981
14
- deltachat_rpc_client-2.13.0.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
15
- deltachat_rpc_client-2.13.0.dist-info/METADATA,sha256=zhpOjT5G4Cyo-bdn4DS7Xoc06_W-HqzzR4hfOF0nk2U,2174
16
- deltachat_rpc_client-2.13.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- deltachat_rpc_client-2.13.0.dist-info/entry_points.txt,sha256=VHpX6EnKBaNj89qJWctApThnMa8suyaamfZEnQacXgc,81
18
- deltachat_rpc_client-2.13.0.dist-info/top_level.txt,sha256=ePNMkY10htGrLiLydH1ITvYFM3LcTEa51HyPqJ40hDk,21
19
- deltachat_rpc_client-2.13.0.dist-info/RECORD,,
14
+ deltachat_rpc_client-2.15.0.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
15
+ deltachat_rpc_client-2.15.0.dist-info/METADATA,sha256=Pi1_HEhtKgd0DK7gWa_mHxfpMmbmGIcKHpjXr40zNjw,2174
16
+ deltachat_rpc_client-2.15.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ deltachat_rpc_client-2.15.0.dist-info/entry_points.txt,sha256=VHpX6EnKBaNj89qJWctApThnMa8suyaamfZEnQacXgc,81
18
+ deltachat_rpc_client-2.15.0.dist-info/top_level.txt,sha256=ePNMkY10htGrLiLydH1ITvYFM3LcTEa51HyPqJ40hDk,21
19
+ deltachat_rpc_client-2.15.0.dist-info/RECORD,,