mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 09:15:41 +08:00
feat: 新增拓展中心功能, 提供 关键词回复 去水印模板
This commit is contained in:
1 parent
aca103cb96
commit
b9ad4e1d71
85 files changed
+14750
-106
No files matched your search
@@ -418,6 +418,20 @@ describe('Windows request', () => {
|
||||
})
|
||||
})
|
||||
|
||||
it('builds the unified video request with type=video', () => {
|
||||
expect(
|
||||
buildWindowsWechatRequest({
|
||||
to: 'room@chatroom',
|
||||
type: 'video',
|
||||
filePath: '/tmp/tm-test.mp4',
|
||||
isGroup: true
|
||||
})
|
||||
).toEqual({
|
||||
endpoint: '/SendMsg',
|
||||
body: { toWxid: 'room@chatroom', type: 'video', msg: '/tmp/tm-test.mp4' }
|
||||
})
|
||||
})
|
||||
|
||||
it('builds the unified voice request with sender wxid and duration', () => {
|
||||
expect(
|
||||
buildWindowsWechatRequest(
|
||||
|
||||
Reference in new issue
Block a user