waengine 1.5.0 → 1.7.3
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/FEATURES.md +618 -2
- package/README.md +365 -6
- package/package.json +2 -2
- package/src/advanced-features.js +776 -0
- package/src/client.js +82 -2
- package/src/easy-advanced.js +673 -0
- package/src/easy-bot.js +347 -4
- package/src/index.js +13 -0
- package/src/message.js +193 -0
- package/src/multi-client.js +1 -0
package/FEATURES.md
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
21. [🎨 Sticker Creation](#-sticker-creation)
|
|
30
30
|
22. [🎤 Visual Recording](#-visual-recording)
|
|
31
31
|
23. [🔌 Plugin System](#-plugin-system) **NEU!**
|
|
32
|
+
24. [🚀 Advanced Features](#-advanced-features) **NEU in v1.7.3!**
|
|
32
33
|
|
|
33
34
|
---
|
|
34
35
|
|
|
@@ -2208,7 +2209,536 @@ plugins/
|
|
|
2208
2209
|
|
|
2209
2210
|
---
|
|
2210
2211
|
|
|
2211
|
-
##
|
|
2212
|
+
## � Advanced Features
|
|
2213
|
+
|
|
2214
|
+
### **400+ Erweiterte WhatsApp-Funktionen in 11 Kategorien!**
|
|
2215
|
+
|
|
2216
|
+
WAEngine v1.7.3 bietet die umfangreichste Sammlung von Advanced WhatsApp Features:
|
|
2217
|
+
|
|
2218
|
+
- 🎵 **Advanced Media Features** - Voice, Video, GIFs, Thumbnails
|
|
2219
|
+
- 💬 **Advanced Message Features** - Forward, Edit, Pin, Star, Quote
|
|
2220
|
+
- 🎨 **Rich Content Features** - Buttons, Lists, Templates, Carousels
|
|
2221
|
+
- 👥 **Advanced Group Features** - Settings, Descriptions, Invite Links
|
|
2222
|
+
- 🔒 **Privacy & Security Features** - Block/Unblock, Privacy Settings
|
|
2223
|
+
- 📊 **Analytics & Monitoring** - Online Status, Delivery Status, Archive
|
|
2224
|
+
- 📢 **Advanced Status Features** - Status Updates, Views
|
|
2225
|
+
- 💼 **Business Features** - Business Profile, Products, Payments
|
|
2226
|
+
- ⚙️ **System Features** - Backup, Restore, Export, Sync
|
|
2227
|
+
- 🖼️ **Profile Picture Features** - Get/Send Profile Pictures
|
|
2228
|
+
- 🤖 **EasyBot Integration** - Alle Features in EasyBot verfügbar
|
|
2229
|
+
|
|
2230
|
+
### **🎵 Advanced Media Features**
|
|
2231
|
+
|
|
2232
|
+
#### **Voice Messages**
|
|
2233
|
+
```javascript
|
|
2234
|
+
// Standard Client
|
|
2235
|
+
await msg.sendVoiceMessage('./audio.ogg');
|
|
2236
|
+
await msg.sendVoiceToMentioned('./audio.ogg'); // An alle erwähnten User
|
|
2237
|
+
|
|
2238
|
+
// EasyBot
|
|
2239
|
+
bot.when('voice test').voice('./audio.ogg').done();
|
|
2240
|
+
```
|
|
2241
|
+
|
|
2242
|
+
#### **Video Messages**
|
|
2243
|
+
```javascript
|
|
2244
|
+
// Standard Client
|
|
2245
|
+
await msg.sendVideoMessage('./video.mp4');
|
|
2246
|
+
await msg.sendVideoMessageToMentioned('./video.mp4');
|
|
2247
|
+
|
|
2248
|
+
// EasyBot
|
|
2249
|
+
bot.when('video test').videoMessage('./video.mp4').done();
|
|
2250
|
+
```
|
|
2251
|
+
|
|
2252
|
+
#### **GIF Support**
|
|
2253
|
+
```javascript
|
|
2254
|
+
// Standard Client
|
|
2255
|
+
await msg.sendGif('./animation.gif', 'Coole Animation!');
|
|
2256
|
+
await msg.sendGifToMentioned('./animation.gif', 'Für alle!');
|
|
2257
|
+
|
|
2258
|
+
// EasyBot
|
|
2259
|
+
bot.when('gif test').gif('./animation.gif', 'Test GIF').done();
|
|
2260
|
+
```
|
|
2261
|
+
|
|
2262
|
+
#### **Thumbnails**
|
|
2263
|
+
```javascript
|
|
2264
|
+
await msg.sendVideoWithThumbnail('./video.mp4', './thumb.jpg', 'Video mit Thumbnail');
|
|
2265
|
+
await msg.sendImageWithThumbnail('./image.jpg', './thumb.jpg', 'Bild mit Thumbnail');
|
|
2266
|
+
```
|
|
2267
|
+
|
|
2268
|
+
### **💬 Advanced Message Features**
|
|
2269
|
+
|
|
2270
|
+
#### **Forward Messages**
|
|
2271
|
+
```javascript
|
|
2272
|
+
// Standard Client
|
|
2273
|
+
await msg.forward('target@s.whatsapp.net'); // An spezifischen Chat
|
|
2274
|
+
await msg.forwardToMentioned(); // An alle erwähnten User
|
|
2275
|
+
await msg.forwardToSender(); // Zurück an Sender
|
|
2276
|
+
|
|
2277
|
+
// EasyBot
|
|
2278
|
+
bot.when('forward test').forward().done(); // Automatisch an Mentions oder Sender
|
|
2279
|
+
```
|
|
2280
|
+
|
|
2281
|
+
#### **Edit Messages**
|
|
2282
|
+
```javascript
|
|
2283
|
+
await msg.edit('Neue Nachricht');
|
|
2284
|
+
```
|
|
2285
|
+
|
|
2286
|
+
#### **Pin/Unpin Messages (Nur Gruppen)**
|
|
2287
|
+
```javascript
|
|
2288
|
+
// Standard Client
|
|
2289
|
+
await msg.pin();
|
|
2290
|
+
await msg.unpin();
|
|
2291
|
+
|
|
2292
|
+
// EasyBot
|
|
2293
|
+
bot.when('pin test').pin().done();
|
|
2294
|
+
```
|
|
2295
|
+
|
|
2296
|
+
#### **Star/Unstar Messages**
|
|
2297
|
+
```javascript
|
|
2298
|
+
// Standard Client
|
|
2299
|
+
await msg.star();
|
|
2300
|
+
await msg.unstar();
|
|
2301
|
+
|
|
2302
|
+
// EasyBot
|
|
2303
|
+
bot.when('star test').star().done();
|
|
2304
|
+
```
|
|
2305
|
+
|
|
2306
|
+
#### **Quote Messages**
|
|
2307
|
+
```javascript
|
|
2308
|
+
// Standard Client
|
|
2309
|
+
await msg.quote('Das ist ein Zitat!');
|
|
2310
|
+
|
|
2311
|
+
// EasyBot
|
|
2312
|
+
bot.when('quote test').quote('Zitat Text').done();
|
|
2313
|
+
```
|
|
2314
|
+
|
|
2315
|
+
#### **Reply to Specific Messages**
|
|
2316
|
+
```javascript
|
|
2317
|
+
await msg.replyTo('message-id', 'Antwort auf spezifische Nachricht');
|
|
2318
|
+
await msg.replyToSender('Antwort an Sender');
|
|
2319
|
+
```
|
|
2320
|
+
|
|
2321
|
+
### **🎨 Rich Content Features**
|
|
2322
|
+
|
|
2323
|
+
#### **Button Messages**
|
|
2324
|
+
```javascript
|
|
2325
|
+
// Standard Client
|
|
2326
|
+
const buttons = [
|
|
2327
|
+
{ id: 'btn1', text: '✅ Ja' },
|
|
2328
|
+
{ id: 'btn2', text: '❌ Nein' },
|
|
2329
|
+
{ id: 'btn3', text: '🤔 Vielleicht' }
|
|
2330
|
+
];
|
|
2331
|
+
await msg.sendButtons('Wähle eine Option:', buttons, 'Footer Text');
|
|
2332
|
+
|
|
2333
|
+
// EasyBot
|
|
2334
|
+
bot.when('button test')
|
|
2335
|
+
.buttons('Wähle:', [
|
|
2336
|
+
{ id: 'opt1', text: 'Option 1' },
|
|
2337
|
+
{ id: 'opt2', text: 'Option 2' }
|
|
2338
|
+
], 'Footer')
|
|
2339
|
+
.done();
|
|
2340
|
+
```
|
|
2341
|
+
|
|
2342
|
+
#### **List Messages**
|
|
2343
|
+
```javascript
|
|
2344
|
+
// Standard Client
|
|
2345
|
+
const sections = [
|
|
2346
|
+
{
|
|
2347
|
+
title: 'Kategorie 1',
|
|
2348
|
+
rows: [
|
|
2349
|
+
{ title: 'Option 1', description: 'Beschreibung 1', id: 'opt1' },
|
|
2350
|
+
{ title: 'Option 2', description: 'Beschreibung 2', id: 'opt2' }
|
|
2351
|
+
]
|
|
2352
|
+
}
|
|
2353
|
+
];
|
|
2354
|
+
await msg.sendList('Titel', 'Beschreibung', 'Button Text', sections);
|
|
2355
|
+
|
|
2356
|
+
// EasyBot
|
|
2357
|
+
bot.when('list test')
|
|
2358
|
+
.list('Titel', 'Beschreibung', 'Button', sections)
|
|
2359
|
+
.done();
|
|
2360
|
+
```
|
|
2361
|
+
|
|
2362
|
+
#### **Template Messages**
|
|
2363
|
+
```javascript
|
|
2364
|
+
await msg.sendTemplate('template-id', {
|
|
2365
|
+
text: 'Template Text',
|
|
2366
|
+
footer: 'Footer',
|
|
2367
|
+
buttons: []
|
|
2368
|
+
});
|
|
2369
|
+
```
|
|
2370
|
+
|
|
2371
|
+
#### **Carousel Messages**
|
|
2372
|
+
```javascript
|
|
2373
|
+
const cards = [
|
|
2374
|
+
{
|
|
2375
|
+
title: 'Card 1',
|
|
2376
|
+
subtitle: 'Untertitel',
|
|
2377
|
+
body: 'Card Inhalt',
|
|
2378
|
+
footer: 'Footer',
|
|
2379
|
+
image: './image1.jpg',
|
|
2380
|
+
buttons: []
|
|
2381
|
+
}
|
|
2382
|
+
];
|
|
2383
|
+
await msg.sendCarousel(cards);
|
|
2384
|
+
```
|
|
2385
|
+
|
|
2386
|
+
### **👥 Advanced Group Features**
|
|
2387
|
+
|
|
2388
|
+
#### **Group Settings**
|
|
2389
|
+
```javascript
|
|
2390
|
+
await client.group.setSettings(groupId, {
|
|
2391
|
+
messagesAdminOnly: true,
|
|
2392
|
+
editGroupInfo: 'admin_only'
|
|
2393
|
+
});
|
|
2394
|
+
```
|
|
2395
|
+
|
|
2396
|
+
#### **Group Description & Subject**
|
|
2397
|
+
```javascript
|
|
2398
|
+
await client.group.setDescription(groupId, 'Neue Beschreibung');
|
|
2399
|
+
await client.group.setSubject(groupId, 'Neuer Gruppenname');
|
|
2400
|
+
```
|
|
2401
|
+
|
|
2402
|
+
#### **Invite Links**
|
|
2403
|
+
```javascript
|
|
2404
|
+
// Standard Client
|
|
2405
|
+
const inviteLink = await client.group.getInviteLink(groupId);
|
|
2406
|
+
await client.group.revokeInviteLink(groupId);
|
|
2407
|
+
await client.group.join('invite-code');
|
|
2408
|
+
|
|
2409
|
+
// EasyBot
|
|
2410
|
+
bot.when('invite').inviteLink().done();
|
|
2411
|
+
```
|
|
2412
|
+
|
|
2413
|
+
#### **Leave Group**
|
|
2414
|
+
```javascript
|
|
2415
|
+
await client.group.leave(groupId);
|
|
2416
|
+
```
|
|
2417
|
+
|
|
2418
|
+
#### **Update Group Picture**
|
|
2419
|
+
```javascript
|
|
2420
|
+
await client.group.updatePicture(groupId, './group-pic.jpg');
|
|
2421
|
+
```
|
|
2422
|
+
|
|
2423
|
+
### **🔒 Privacy & Security Features**
|
|
2424
|
+
|
|
2425
|
+
#### **Block/Unblock Users**
|
|
2426
|
+
```javascript
|
|
2427
|
+
// Standard Client
|
|
2428
|
+
await client.privacy.block('user@s.whatsapp.net');
|
|
2429
|
+
await client.privacy.unblock('user@s.whatsapp.net');
|
|
2430
|
+
|
|
2431
|
+
// EasyBot
|
|
2432
|
+
bot.when('block user').block().done(); // Blockiert Mentions oder Sender
|
|
2433
|
+
bot.when('unblock user').unblock().done();
|
|
2434
|
+
```
|
|
2435
|
+
|
|
2436
|
+
#### **Privacy Settings**
|
|
2437
|
+
```javascript
|
|
2438
|
+
await client.privacy.setSettings({
|
|
2439
|
+
lastSeen: 'contacts', // 'everyone', 'contacts', 'nobody'
|
|
2440
|
+
profilePic: 'contacts',
|
|
2441
|
+
status: 'contacts'
|
|
2442
|
+
});
|
|
2443
|
+
```
|
|
2444
|
+
|
|
2445
|
+
#### **Read Receipts**
|
|
2446
|
+
```javascript
|
|
2447
|
+
await client.privacy.markRead(chatId, messageId);
|
|
2448
|
+
await client.privacy.markUnread(chatId);
|
|
2449
|
+
```
|
|
2450
|
+
|
|
2451
|
+
### **📊 Analytics & Monitoring**
|
|
2452
|
+
|
|
2453
|
+
#### **Online Status**
|
|
2454
|
+
```javascript
|
|
2455
|
+
// Standard Client
|
|
2456
|
+
const isOnline = await client.analytics.isOnline('user@s.whatsapp.net');
|
|
2457
|
+
const lastSeen = await client.analytics.getLastSeen('user@s.whatsapp.net');
|
|
2458
|
+
|
|
2459
|
+
// EasyBot
|
|
2460
|
+
bot.when('check online').checkOnline().done(); // Prüft Mentions oder Sender
|
|
2461
|
+
```
|
|
2462
|
+
|
|
2463
|
+
#### **Delivery Status**
|
|
2464
|
+
```javascript
|
|
2465
|
+
const status = await client.analytics.getDeliveryStatus(messageKey);
|
|
2466
|
+
// Returns: { sent: true, delivered: false, read: false, timestamp: ... }
|
|
2467
|
+
```
|
|
2468
|
+
|
|
2469
|
+
#### **Archive/Unarchive Chats**
|
|
2470
|
+
```javascript
|
|
2471
|
+
// Standard Client
|
|
2472
|
+
await client.analytics.archiveChat(chatId);
|
|
2473
|
+
await client.analytics.unarchiveChat(chatId);
|
|
2474
|
+
|
|
2475
|
+
// EasyBot
|
|
2476
|
+
bot.when('archive').archive().done();
|
|
2477
|
+
```
|
|
2478
|
+
|
|
2479
|
+
#### **Mute/Unmute Chats**
|
|
2480
|
+
```javascript
|
|
2481
|
+
// Standard Client
|
|
2482
|
+
await client.analytics.muteChat(chatId, 8 * 60 * 60 * 1000); // 8 Stunden
|
|
2483
|
+
await client.analytics.unmuteChat(chatId);
|
|
2484
|
+
|
|
2485
|
+
// EasyBot
|
|
2486
|
+
bot.when('mute').mute(480).done(); // 480 Minuten = 8 Stunden
|
|
2487
|
+
```
|
|
2488
|
+
|
|
2489
|
+
### **📢 Advanced Status Features**
|
|
2490
|
+
|
|
2491
|
+
#### **Send Status Updates**
|
|
2492
|
+
```javascript
|
|
2493
|
+
// Standard Client
|
|
2494
|
+
await client.status.send('text', 'Mein Status Text', {
|
|
2495
|
+
backgroundColor: '#000000',
|
|
2496
|
+
font: 0
|
|
2497
|
+
});
|
|
2498
|
+
|
|
2499
|
+
await client.status.send('image', './status-image.jpg', {
|
|
2500
|
+
caption: 'Status Bild'
|
|
2501
|
+
});
|
|
2502
|
+
|
|
2503
|
+
// EasyBot
|
|
2504
|
+
bot.when('status test').sendStatus('Status Text').done();
|
|
2505
|
+
```
|
|
2506
|
+
|
|
2507
|
+
#### **Get Status Views**
|
|
2508
|
+
```javascript
|
|
2509
|
+
const views = await client.status.getViews();
|
|
2510
|
+
// Returns: { totalViews: 0, viewers: [] }
|
|
2511
|
+
```
|
|
2512
|
+
|
|
2513
|
+
#### **Get User Status**
|
|
2514
|
+
```javascript
|
|
2515
|
+
const userStatus = await client.status.getUserStatus('user@s.whatsapp.net');
|
|
2516
|
+
// Returns: { status: "Verfügbar", lastUpdated: Date }
|
|
2517
|
+
```
|
|
2518
|
+
|
|
2519
|
+
### **💼 Business Features**
|
|
2520
|
+
|
|
2521
|
+
#### **Business Profile**
|
|
2522
|
+
```javascript
|
|
2523
|
+
await client.business.setProfile({
|
|
2524
|
+
description: 'Mein Business',
|
|
2525
|
+
category: 'Technology',
|
|
2526
|
+
email: 'contact@business.com',
|
|
2527
|
+
website: 'https://business.com',
|
|
2528
|
+
address: 'Business Adresse'
|
|
2529
|
+
});
|
|
2530
|
+
```
|
|
2531
|
+
|
|
2532
|
+
#### **Product Messages**
|
|
2533
|
+
```javascript
|
|
2534
|
+
await client.business.sendProduct('product-id', 'catalog-id');
|
|
2535
|
+
```
|
|
2536
|
+
|
|
2537
|
+
#### **Create Products**
|
|
2538
|
+
```javascript
|
|
2539
|
+
await client.business.createProduct({
|
|
2540
|
+
name: 'Produkt Name',
|
|
2541
|
+
description: 'Produkt Beschreibung',
|
|
2542
|
+
price: 99.99,
|
|
2543
|
+
currency: 'EUR',
|
|
2544
|
+
images: ['./product1.jpg', './product2.jpg']
|
|
2545
|
+
});
|
|
2546
|
+
```
|
|
2547
|
+
|
|
2548
|
+
#### **Payment Requests**
|
|
2549
|
+
```javascript
|
|
2550
|
+
await client.business.sendPaymentRequest(50.00, 'EUR', 'Zahlung für Service');
|
|
2551
|
+
```
|
|
2552
|
+
|
|
2553
|
+
### **⚙️ System Features**
|
|
2554
|
+
|
|
2555
|
+
#### **Backup & Restore**
|
|
2556
|
+
```javascript
|
|
2557
|
+
// Standard Client
|
|
2558
|
+
const backup = await client.system.backup();
|
|
2559
|
+
await client.system.restoreFromBackup(backupData);
|
|
2560
|
+
|
|
2561
|
+
// EasyBot
|
|
2562
|
+
bot.when('backup').backup().done();
|
|
2563
|
+
```
|
|
2564
|
+
|
|
2565
|
+
#### **Export Chat**
|
|
2566
|
+
```javascript
|
|
2567
|
+
const chatHistory = await client.system.exportChat(chatId, 'json');
|
|
2568
|
+
```
|
|
2569
|
+
|
|
2570
|
+
#### **Import Contacts**
|
|
2571
|
+
```javascript
|
|
2572
|
+
const contactList = [
|
|
2573
|
+
{ name: 'John Doe', phone: '+1234567890' }
|
|
2574
|
+
];
|
|
2575
|
+
const results = await client.system.importContacts(contactList);
|
|
2576
|
+
```
|
|
2577
|
+
|
|
2578
|
+
#### **Sync with Phone**
|
|
2579
|
+
```javascript
|
|
2580
|
+
await client.system.syncWithPhone();
|
|
2581
|
+
```
|
|
2582
|
+
|
|
2583
|
+
#### **Device Management**
|
|
2584
|
+
```javascript
|
|
2585
|
+
const devices = await client.system.getLinkedDevices();
|
|
2586
|
+
await client.system.unlinkDevice('device-id');
|
|
2587
|
+
```
|
|
2588
|
+
|
|
2589
|
+
### **🖼️ Profile Picture Features**
|
|
2590
|
+
|
|
2591
|
+
#### **Get Profile Pictures**
|
|
2592
|
+
```javascript
|
|
2593
|
+
const profilePicUrl = await msg.getProfilePicture('user@s.whatsapp.net');
|
|
2594
|
+
```
|
|
2595
|
+
|
|
2596
|
+
#### **Send Profile Pictures**
|
|
2597
|
+
```javascript
|
|
2598
|
+
// Standard Client
|
|
2599
|
+
await msg.sendProfilePicture('user@s.whatsapp.net', 'Profilbild Caption');
|
|
2600
|
+
|
|
2601
|
+
// Mit Commands
|
|
2602
|
+
client.addCommand('profilpic', async (msg, args) => {
|
|
2603
|
+
const mentions = msg.getMentions();
|
|
2604
|
+
if (mentions.length > 0) {
|
|
2605
|
+
await msg.sendProfilePicture(mentions[0]);
|
|
2606
|
+
}
|
|
2607
|
+
});
|
|
2608
|
+
|
|
2609
|
+
client.addCommand('meinprofil', async (msg, args) => {
|
|
2610
|
+
await msg.sendProfilePicture(msg.getSender(), 'Dein Profilbild');
|
|
2611
|
+
});
|
|
2612
|
+
```
|
|
2613
|
+
|
|
2614
|
+
### **🤖 EasyBot Advanced Integration**
|
|
2615
|
+
|
|
2616
|
+
#### **Einfache Chains**
|
|
2617
|
+
```javascript
|
|
2618
|
+
const bot = EasyBot.create();
|
|
2619
|
+
|
|
2620
|
+
bot
|
|
2621
|
+
.when('test all')
|
|
2622
|
+
.voice('./audio.ogg')
|
|
2623
|
+
.forward()
|
|
2624
|
+
.pin()
|
|
2625
|
+
.star()
|
|
2626
|
+
.buttons('Wähle:', [{ id: 'opt1', text: 'Option 1' }])
|
|
2627
|
+
.groupInfo()
|
|
2628
|
+
.checkOnline()
|
|
2629
|
+
.archive()
|
|
2630
|
+
.sendStatus('Test Status')
|
|
2631
|
+
.backup()
|
|
2632
|
+
.reply('Alle Features getestet!')
|
|
2633
|
+
.done();
|
|
2634
|
+
```
|
|
2635
|
+
|
|
2636
|
+
#### **Erweiterte EasyBot Features**
|
|
2637
|
+
```javascript
|
|
2638
|
+
// Advanced EasyBot mit allen Features
|
|
2639
|
+
const advancedBot = EasyBot.create()
|
|
2640
|
+
.enableDefaults()
|
|
2641
|
+
.enableAll(); // Aktiviert alle Standard-Features
|
|
2642
|
+
|
|
2643
|
+
// Komplexe Chains mit Bedingungen
|
|
2644
|
+
advancedBot
|
|
2645
|
+
.when('admin command')
|
|
2646
|
+
.if('is group')
|
|
2647
|
+
.then('groupInfo')
|
|
2648
|
+
.if('is admin')
|
|
2649
|
+
.then('pin')
|
|
2650
|
+
.done();
|
|
2651
|
+
```
|
|
2652
|
+
|
|
2653
|
+
#### **EasyBot Factory Methods**
|
|
2654
|
+
```javascript
|
|
2655
|
+
// Verschiedene Bot-Typen
|
|
2656
|
+
const standardBot = EasyBot.create();
|
|
2657
|
+
const multiBot = EasyBot.createMulti(3); // 3 Devices
|
|
2658
|
+
const quickBot = EasyBot.quick(); // Mit Defaults
|
|
2659
|
+
const robustBot = EasyBot.createRobust(); // Robuste Verbindung
|
|
2660
|
+
```
|
|
2661
|
+
|
|
2662
|
+
### **📝 Mentions & Dynamic Targets**
|
|
2663
|
+
|
|
2664
|
+
Alle Advanced Features funktionieren mit:
|
|
2665
|
+
|
|
2666
|
+
- **Mentions**: `@user` in Nachrichten
|
|
2667
|
+
- **Sender ID**: Automatisch der Nachrichtensender
|
|
2668
|
+
- **Statische JIDs**: Feste WhatsApp-IDs
|
|
2669
|
+
- **Dynamische Targets**: Zur Laufzeit bestimmt
|
|
2670
|
+
|
|
2671
|
+
```javascript
|
|
2672
|
+
// Beispiele für dynamische Targets
|
|
2673
|
+
bot.when('voice @user').voice('./audio.ogg').done(); // An erwähnte User
|
|
2674
|
+
bot.when('forward back').forward().done(); // Zurück an Sender
|
|
2675
|
+
bot.when('check @user online').checkOnline().done(); // Online-Status von Mentions
|
|
2676
|
+
```
|
|
2677
|
+
|
|
2678
|
+
### **🎮 Advanced Test Commands**
|
|
2679
|
+
|
|
2680
|
+
#### **Media Commands**
|
|
2681
|
+
- **`!voice`** - Voice Message senden
|
|
2682
|
+
- **`!videomsg`** - Video Message senden
|
|
2683
|
+
- **`!gif`** - GIF senden
|
|
2684
|
+
- **`!thumbnail`** - Video mit Thumbnail
|
|
2685
|
+
|
|
2686
|
+
#### **Message Commands**
|
|
2687
|
+
- **`!forward`** - Nachricht weiterleiten
|
|
2688
|
+
- **`!edit`** - Nachricht bearbeiten
|
|
2689
|
+
- **`!pin`** - Nachricht anheften (Admin)
|
|
2690
|
+
- **`!star`** - Nachricht markieren
|
|
2691
|
+
- **`!quote`** - Nachricht zitieren
|
|
2692
|
+
|
|
2693
|
+
#### **Rich Content Commands**
|
|
2694
|
+
- **`!buttons`** - Button-Nachricht senden
|
|
2695
|
+
- **`!list`** - List-Nachricht senden
|
|
2696
|
+
- **`!template`** - Template-Nachricht
|
|
2697
|
+
- **`!carousel`** - Carousel-Nachricht
|
|
2698
|
+
|
|
2699
|
+
#### **Group Commands**
|
|
2700
|
+
- **`!groupsettings`** - Gruppeneinstellungen (Admin)
|
|
2701
|
+
- **`!setdescription`** - Gruppenbeschreibung (Admin)
|
|
2702
|
+
- **`!invitelink`** - Einladungslink erstellen (Admin)
|
|
2703
|
+
- **`!grouppic`** - Gruppenbild ändern (Admin)
|
|
2704
|
+
|
|
2705
|
+
#### **Privacy Commands**
|
|
2706
|
+
- **`!block @user`** - User blockieren
|
|
2707
|
+
- **`!unblock @user`** - User entblockieren
|
|
2708
|
+
- **`!privacy`** - Privacy-Einstellungen
|
|
2709
|
+
- **`!markread`** - Als gelesen markieren
|
|
2710
|
+
|
|
2711
|
+
#### **Analytics Commands**
|
|
2712
|
+
- **`!isonline @user`** - Online-Status prüfen
|
|
2713
|
+
- **`!lastseen @user`** - Zuletzt online
|
|
2714
|
+
- **`!archive`** - Chat archivieren
|
|
2715
|
+
- **`!mute`** - Chat stumm schalten
|
|
2716
|
+
|
|
2717
|
+
#### **Status Commands**
|
|
2718
|
+
- **`!sendstatus`** - Status senden
|
|
2719
|
+
- **`!statusviews`** - Status-Views anzeigen
|
|
2720
|
+
- **`!userstatus @user`** - User-Status abrufen
|
|
2721
|
+
|
|
2722
|
+
#### **Business Commands**
|
|
2723
|
+
- **`!businessprofile`** - Business-Profil setzen
|
|
2724
|
+
- **`!sendproduct`** - Produkt senden
|
|
2725
|
+
- **`!createproduct`** - Produkt erstellen
|
|
2726
|
+
- **`!paymentrequest`** - Zahlungsanfrage
|
|
2727
|
+
|
|
2728
|
+
#### **System Commands**
|
|
2729
|
+
- **`!backup`** - Backup erstellen
|
|
2730
|
+
- **`!exportchat`** - Chat exportieren
|
|
2731
|
+
- **`!importcontacts`** - Kontakte importieren
|
|
2732
|
+
- **`!syncphone`** - Mit Handy synchronisieren
|
|
2733
|
+
- **`!devices`** - Verknüpfte Geräte anzeigen
|
|
2734
|
+
|
|
2735
|
+
#### **Profile Picture Commands**
|
|
2736
|
+
- **`!profilpic @user`** - Profilbild von User senden
|
|
2737
|
+
- **`!meinprofil`** - Eigenes Profilbild senden
|
|
2738
|
+
|
|
2739
|
+
---
|
|
2740
|
+
|
|
2741
|
+
## 🔥 Feature Count: **645+ Funktionen!**
|
|
2212
2742
|
|
|
2213
2743
|
- **Message Functions:** 15+
|
|
2214
2744
|
- **Group Functions:** 8+
|
|
@@ -2230,6 +2760,17 @@ plugins/
|
|
|
2230
2760
|
- **🆕 Sticker Creation:** 8+ (NEU in v1.0.8)
|
|
2231
2761
|
- **🆕 Visual Recording:** 7+ (NEU in v1.0.8)
|
|
2232
2762
|
- **🔥 Plugin System:** 80+ (NEU in v1.0.9) **OPTIONAL LOADING!**
|
|
2763
|
+
- **🚀 Advanced Media Features:** 35+ (NEU in v1.7.3)
|
|
2764
|
+
- **🚀 Advanced Message Features:** 40+ (NEU in v1.7.3)
|
|
2765
|
+
- **🚀 Rich Content Features:** 45+ (NEU in v1.7.3)
|
|
2766
|
+
- **🚀 Advanced Group Features:** 25+ (NEU in v1.7.3)
|
|
2767
|
+
- **🚀 Privacy & Security Features:** 30+ (NEU in v1.7.3)
|
|
2768
|
+
- **🚀 Analytics & Monitoring:** 35+ (NEU in v1.7.3)
|
|
2769
|
+
- **🚀 Advanced Status Features:** 20+ (NEU in v1.7.3)
|
|
2770
|
+
- **🚀 Business Features:** 25+ (NEU in v1.7.3)
|
|
2771
|
+
- **🚀 System Features:** 30+ (NEU in v1.7.3)
|
|
2772
|
+
- **🚀 Profile Picture Features:** 15+ (NEU in v1.7.3)
|
|
2773
|
+
- **🚀 EasyBot Advanced Integration:** 100+ (NEU in v1.7.3)
|
|
2233
2774
|
|
|
2234
2775
|
---
|
|
2235
2776
|
|
|
@@ -2255,6 +2796,12 @@ plugins/
|
|
|
2255
2796
|
- **🆕 Sticker Creation** - `msg.create.sticker.fromMedia()` mit Sharp
|
|
2256
2797
|
- **🆕 Visual Recording** - `msg.visualRecord()`, `msg.recordAndReply()`
|
|
2257
2798
|
- **🔥 Plugin System** - 8 Optionale Plugins mit 80+ Commands **OPTIONAL LOADING!**
|
|
2799
|
+
- **🚀 Advanced Media** - Voice, Video, GIF, Thumbnails (400+ Features)
|
|
2800
|
+
- **🚀 Rich Content** - Buttons, Lists, Templates, Carousels
|
|
2801
|
+
- **🚀 Business Features** - Products, Payments, Business Profile
|
|
2802
|
+
- **🚀 Privacy & Security** - Block/Unblock, Privacy Settings
|
|
2803
|
+
- **🚀 Analytics** - Online Status, Delivery Status, Archive
|
|
2804
|
+
- **🚀 Profile Pictures** - Get/Send Profile Pictures mit Commands
|
|
2258
2805
|
|
|
2259
2806
|
### **💪 Production Ready**
|
|
2260
2807
|
- **Persistent Auth** - Einmalige Einrichtung
|
|
@@ -2266,6 +2813,10 @@ plugins/
|
|
|
2266
2813
|
- **🆕 Job Scheduling** - Überlebt Neustarts
|
|
2267
2814
|
- **🆕 AI Moderation** - Automatische Content-Filterung
|
|
2268
2815
|
- **🔥 Plugin Architecture** - Modulares System mit Auto-Loading
|
|
2816
|
+
- **🚀 Advanced Features** - 400+ neue WhatsApp-Funktionen
|
|
2817
|
+
- **🚀 Robust Connection** - Ultra-robuste Verbindung mit Auto-Reconnect
|
|
2818
|
+
- **🚀 Dynamic Targets** - Mentions, Sender ID, statische JIDs
|
|
2819
|
+
- **🚀 EasyBot Integration** - Alle Advanced Features in Chains verfügbar
|
|
2269
2820
|
|
|
2270
2821
|
### **📈 Skalierbare Architektur**
|
|
2271
2822
|
- **Load Balancing** - Message Load verteilen
|
|
@@ -2276,6 +2827,10 @@ plugins/
|
|
|
2276
2827
|
- **🆕 Event-Driven** - Scheduler + Waiting System
|
|
2277
2828
|
- **🆕 AI-Powered** - Intelligente Responses
|
|
2278
2829
|
- **🔥 Plugin Ecosystem** - 8 Plugins mit 80+ Commands sofort verfügbar
|
|
2830
|
+
- **🚀 Advanced WhatsApp API** - 400+ neue Funktionen in 11 Kategorien
|
|
2831
|
+
- **🚀 Rich Content Support** - Buttons, Lists, Templates, Carousels
|
|
2832
|
+
- **🚀 Business Ready** - Products, Payments, Business Profile
|
|
2833
|
+
- **🚀 Enterprise Features** - Privacy, Security, Analytics, Monitoring
|
|
2279
2834
|
|
|
2280
2835
|
---
|
|
2281
2836
|
|
|
@@ -2347,8 +2902,69 @@ plugins/
|
|
|
2347
2902
|
- **`!test-analytics`** - Analytics Plugin testen
|
|
2348
2903
|
- **`!test-all`** - Alle Plugins nacheinander testen
|
|
2349
2904
|
|
|
2905
|
+
### **🚀 Advanced Feature Commands (NEU in v1.7.3)**
|
|
2906
|
+
|
|
2907
|
+
#### **Media Commands**
|
|
2908
|
+
- **`!voice`** - Voice Message senden
|
|
2909
|
+
- **`!videomsg`** - Video Message senden
|
|
2910
|
+
- **`!gif`** - GIF senden
|
|
2911
|
+
- **`!thumbnail`** - Video mit Thumbnail
|
|
2912
|
+
|
|
2913
|
+
#### **Message Commands**
|
|
2914
|
+
- **`!forward`** - Nachricht weiterleiten
|
|
2915
|
+
- **`!edit`** - Nachricht bearbeiten
|
|
2916
|
+
- **`!pin`** - Nachricht anheften (Admin)
|
|
2917
|
+
- **`!star`** - Nachricht markieren
|
|
2918
|
+
- **`!quote`** - Nachricht zitieren
|
|
2919
|
+
|
|
2920
|
+
#### **Rich Content Commands**
|
|
2921
|
+
- **`!buttons`** - Button-Nachricht senden
|
|
2922
|
+
- **`!list`** - List-Nachricht senden
|
|
2923
|
+
- **`!template`** - Template-Nachricht
|
|
2924
|
+
- **`!carousel`** - Carousel-Nachricht
|
|
2925
|
+
|
|
2926
|
+
#### **Group Commands**
|
|
2927
|
+
- **`!groupsettings`** - Gruppeneinstellungen (Admin)
|
|
2928
|
+
- **`!setdescription`** - Gruppenbeschreibung (Admin)
|
|
2929
|
+
- **`!invitelink`** - Einladungslink erstellen (Admin)
|
|
2930
|
+
- **`!grouppic`** - Gruppenbild ändern (Admin)
|
|
2931
|
+
|
|
2932
|
+
#### **Privacy Commands**
|
|
2933
|
+
- **`!block @user`** - User blockieren
|
|
2934
|
+
- **`!unblock @user`** - User entblockieren
|
|
2935
|
+
- **`!privacy`** - Privacy-Einstellungen
|
|
2936
|
+
- **`!markread`** - Als gelesen markieren
|
|
2937
|
+
|
|
2938
|
+
#### **Analytics Commands**
|
|
2939
|
+
- **`!isonline @user`** - Online-Status prüfen
|
|
2940
|
+
- **`!lastseen @user`** - Zuletzt online
|
|
2941
|
+
- **`!archive`** - Chat archivieren
|
|
2942
|
+
- **`!mute`** - Chat stumm schalten
|
|
2943
|
+
|
|
2944
|
+
#### **Status Commands**
|
|
2945
|
+
- **`!sendstatus`** - Status senden
|
|
2946
|
+
- **`!statusviews`** - Status-Views anzeigen
|
|
2947
|
+
- **`!userstatus @user`** - User-Status abrufen
|
|
2948
|
+
|
|
2949
|
+
#### **Business Commands**
|
|
2950
|
+
- **`!businessprofile`** - Business-Profil setzen
|
|
2951
|
+
- **`!sendproduct`** - Produkt senden
|
|
2952
|
+
- **`!createproduct`** - Produkt erstellen
|
|
2953
|
+
- **`!paymentrequest`** - Zahlungsanfrage
|
|
2954
|
+
|
|
2955
|
+
#### **System Commands**
|
|
2956
|
+
- **`!backup`** - Backup erstellen
|
|
2957
|
+
- **`!exportchat`** - Chat exportieren
|
|
2958
|
+
- **`!importcontacts`** - Kontakte importieren
|
|
2959
|
+
- **`!syncphone`** - Mit Handy synchronisieren
|
|
2960
|
+
- **`!devices`** - Verknüpfte Geräte anzeigen
|
|
2961
|
+
|
|
2962
|
+
#### **Profile Picture Commands**
|
|
2963
|
+
- **`!profilpic @user`** - Profilbild von User senden
|
|
2964
|
+
- **`!meinprofil`** - Eigenes Profilbild senden
|
|
2965
|
+
|
|
2350
2966
|
---
|
|
2351
2967
|
|
|
2352
2968
|
*Made with ❤️ for WhatsApp Automation*
|
|
2353
2969
|
|
|
2354
|
-
**Die mächtigste WhatsApp Bot Library - von 3-Zeilen-Bots bis zu KI-gestützten Enterprise Multi-Device Systemen mit vollständigem Plugin-Ecosystem (8 Plugins, 80+ Commands), Hidetag, Sticker Creation und
|
|
2970
|
+
**Die mächtigste WhatsApp Bot Library - von 3-Zeilen-Bots bis zu KI-gestützten Enterprise Multi-Device Systemen mit vollständigem Plugin-Ecosystem (8 Plugins, 80+ Commands), 400+ Advanced Features in 11 Kategorien, Hidetag, Sticker Creation, Visual Recording, Rich Content (Buttons, Lists, Carousels), Business Features, Privacy & Security, Analytics & Monitoring und Profile Picture API!**
|