reywechat 1.0.23__py3-none-any.whl → 1.0.24__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.
- reywechat/rclient.py +8 -8
- reywechat/rdb.py +257 -195
- reywechat/rlog.py +4 -4
- reywechat/rreceive.py +169 -107
- reywechat/rschedule.py +5 -49
- reywechat/rsend.py +108 -228
- reywechat/rtrigger.py +6 -4
- reywechat/rwechat.py +22 -24
- {reywechat-1.0.23.dist-info → reywechat-1.0.24.dist-info}/METADATA +1 -1
- reywechat-1.0.24.dist-info/RECORD +16 -0
- reywechat-1.0.23.dist-info/RECORD +0 -16
- {reywechat-1.0.23.dist-info → reywechat-1.0.24.dist-info}/WHEEL +0 -0
- {reywechat-1.0.23.dist-info → reywechat-1.0.24.dist-info}/licenses/LICENSE +0 -0
reywechat/rclient.py
CHANGED
@@ -59,18 +59,18 @@ class WeChatClient(BaseWeChat):
|
|
59
59
|
|
60
60
|
def __init__(
|
61
61
|
self,
|
62
|
-
|
62
|
+
wechat: WeChat
|
63
63
|
) -> None:
|
64
64
|
"""
|
65
65
|
Build instance attributes.
|
66
66
|
|
67
67
|
Parameters
|
68
68
|
----------
|
69
|
-
|
69
|
+
wechat : `WeChat` instance.
|
70
70
|
"""
|
71
71
|
|
72
72
|
# Start.
|
73
|
-
self.
|
73
|
+
self.wechat = wechat
|
74
74
|
self.start_api()
|
75
75
|
|
76
76
|
# Set attribute.
|
@@ -459,7 +459,7 @@ class WeChatClient(BaseWeChat):
|
|
459
459
|
|
460
460
|
Parameters
|
461
461
|
----------
|
462
|
-
|
462
|
+
id\_ : Message ID.
|
463
463
|
"""
|
464
464
|
|
465
465
|
# Get parameter.
|
@@ -480,8 +480,8 @@ class WeChatClient(BaseWeChat):
|
|
480
480
|
|
481
481
|
Parameters
|
482
482
|
----------
|
483
|
-
|
484
|
-
|
483
|
+
id\_ : Message ID.
|
484
|
+
dir\_ : Save directory.
|
485
485
|
"""
|
486
486
|
|
487
487
|
# Get parameter.
|
@@ -505,7 +505,7 @@ class WeChatClient(BaseWeChat):
|
|
505
505
|
|
506
506
|
Parameters
|
507
507
|
----------
|
508
|
-
|
508
|
+
type\_ : Return contact table type.
|
509
509
|
- `None`: Return all contact table.
|
510
510
|
- `Literal['user']`: Return user contact table.
|
511
511
|
- `Literal['room']`: Return chat room contact table.
|
@@ -579,7 +579,7 @@ class WeChatClient(BaseWeChat):
|
|
579
579
|
|
580
580
|
Parameters
|
581
581
|
----------
|
582
|
-
|
582
|
+
id\_ : User ID or chat room ID.
|
583
583
|
|
584
584
|
Returns
|
585
585
|
-------
|