Impl receive_transfer
This commit is contained in:
parent
3949504ca6
commit
8cee11b124
@ -19,7 +19,7 @@ WCF_ROOT = os.path.abspath(os.path.dirname(__file__))
|
|||||||
sys.path.insert(0, WCF_ROOT)
|
sys.path.insert(0, WCF_ROOT)
|
||||||
import wcf_pb2 # noqa
|
import wcf_pb2 # noqa
|
||||||
|
|
||||||
__version__ = "3.7.0.30.23"
|
__version__ = "3.7.0.30.24"
|
||||||
|
|
||||||
|
|
||||||
def _retry():
|
def _retry():
|
||||||
@ -438,6 +438,15 @@ class Wcf():
|
|||||||
rsp = self._send_request(req)
|
rsp = self._send_request(req)
|
||||||
return rsp.status
|
return rsp.status
|
||||||
|
|
||||||
|
def receive_transfer(self, wxid: str, transferid: str) -> int:
|
||||||
|
"""接收转账"""
|
||||||
|
req = wcf_pb2.Request()
|
||||||
|
req.func = wcf_pb2.FUNC_RECV_TRANSFER # FUNC_RECV_TRANSFER
|
||||||
|
req.tf.wxid = wxid
|
||||||
|
req.tf.tid = transferid
|
||||||
|
rsp = self._send_request(req)
|
||||||
|
return rsp.status
|
||||||
|
|
||||||
def decrypt_image(self, src: str, dst: str) -> bool:
|
def decrypt_image(self, src: str, dst: str) -> bool:
|
||||||
"""解密图片:
|
"""解密图片:
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user