whatsapp-rpc 0.0.12 → 0.0.13
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.
- package/README.md +2 -2
- package/configs/config.yaml +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ Connect via WebSocket to `ws://localhost:9400/ws/rpc` and send JSON-RPC 2.0 requ
|
|
|
106
106
|
| `status` | Get connection status (connected, has_session, running, pairing, device_id) |
|
|
107
107
|
| `start` | Start WhatsApp service |
|
|
108
108
|
| `stop` | Stop WhatsApp service |
|
|
109
|
-
| `restart` | Full reset: logout,
|
|
109
|
+
| `restart` | Full reset: logout, clear all caches, cleanup, start fresh |
|
|
110
110
|
| `reset` | Reset session (logout and delete credentials) |
|
|
111
111
|
| `diagnostics` | Get detailed diagnostics information |
|
|
112
112
|
| `qr` | Get QR code for pairing (code, image_data as base64 PNG) |
|
|
@@ -154,7 +154,7 @@ Connect via WebSocket to `ws://localhost:9400/ws/rpc` and send JSON-RPC 2.0 requ
|
|
|
154
154
|
| `newsletter_follow` | `jid` | Subscribe to a channel |
|
|
155
155
|
| `newsletter_unfollow` | `jid` | Unsubscribe from a channel |
|
|
156
156
|
| `newsletter_mute` | `jid`, `mute` | Mute/unmute a channel |
|
|
157
|
-
| `newsletter_messages` | `jid`, `count`, `before` | Get channel messages |
|
|
157
|
+
| `newsletter_messages` | `jid`, `count`, `offset`, `before`, `since`, `until`, `media_type`, `search`, `refresh` | Get channel messages (lazy cached, filterable) |
|
|
158
158
|
| `newsletter_send` | `group_id`, `type`, `message`/`media_data` | Send to channel (admin only) |
|
|
159
159
|
| `newsletter_mark_viewed` | `jid`, `server_ids[]` | Mark messages as viewed |
|
|
160
160
|
| `newsletter_react` | `jid`, `server_id`, `reaction` | React to a channel message |
|
package/configs/config.yaml
CHANGED