Skip to content

Commit aa18d13

Browse files
committed
✨ (whatsapp.baileys.service.ts): adiciona novos campos de grupo na integração do WhatsApp
A inclusão dos campos isCommunity, isCommunityAnnounce e linkedParent na integração do WhatsApp permite que o serviço manipule informações adicionais sobre grupos. Isso melhora a funcionalidade e a flexibilidade do serviço, possibilitando um melhor gerenciamento e interação com grupos comunitários no WhatsApp.
1 parent 3af8f96 commit aa18d13

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3552,6 +3552,9 @@ export class BaileysStartupService extends ChannelStartupService {
35523552
restrict: group.restrict,
35533553
announce: group.announce,
35543554
participants: group.participants,
3555+
isCommunity: group.isCommunity,
3556+
isCommunityAnnounce: group.isCommunityAnnounce,
3557+
linkedParent: group.linkedParent,
35553558
};
35563559
} catch (error) {
35573560
if (reply === 'inner') {
@@ -3581,6 +3584,9 @@ export class BaileysStartupService extends ChannelStartupService {
35813584
descId: group.descId,
35823585
restrict: group.restrict,
35833586
announce: group.announce,
3587+
isCommunity: group.isCommunity,
3588+
isCommunityAnnounce: group.isCommunityAnnounce,
3589+
linkedParent: group.linkedParent,
35843590
};
35853591

35863592
if (getParticipants.getParticipants == 'true') {

0 commit comments

Comments
 (0)