Skip to content

Commit 27e344e

Browse files
committed
feat: Send List Message
1 parent 11144aa commit 27e344e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,6 @@ export class BaileysStartupService extends ChannelStartupService {
13741374
quoted: any,
13751375
messageId?: string,
13761376
ephemeralExpiration?: number,
1377-
// participants?: GroupParticipant[],
13781377
) {
13791378
sender = sender.toLowerCase();
13801379

@@ -1384,10 +1383,6 @@ export class BaileysStartupService extends ChannelStartupService {
13841383

13851384
if (isJidGroup(sender)) {
13861385
option.useCachedGroupMetadata = true;
1387-
// if (participants)
1388-
// option.cachedGroupMetadata = async () => {
1389-
// return { participants: participants as GroupParticipant[] };
1390-
// };
13911386
}
13921387

13931388
if (ephemeralExpiration) option.ephemeralExpiration = ephemeralExpiration;
@@ -1614,7 +1609,6 @@ export class BaileysStartupService extends ChannelStartupService {
16141609
quoted,
16151610
null,
16161611
group?.ephemeralDuration,
1617-
// group?.participants,
16181612
);
16191613
} else {
16201614
messageSent = await this.sendMessage(sender, message, mentions, linkPreview, quoted);

0 commit comments

Comments
 (0)