Merge pull request #977 from FelipeWayne/v2.0.0

(whatsapp.baileys.service.ts): adiciona novos campos de grupo na integração do WhatsApp
This commit is contained in:
Davidson Gomes 2024-10-14 08:04:27 -03:00 committed by GitHub
commit b324e22d57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3552,6 +3552,9 @@ export class BaileysStartupService extends ChannelStartupService {
restrict: group.restrict, restrict: group.restrict,
announce: group.announce, announce: group.announce,
participants: group.participants, participants: group.participants,
isCommunity: group.isCommunity,
isCommunityAnnounce: group.isCommunityAnnounce,
linkedParent: group.linkedParent,
}; };
} catch (error) { } catch (error) {
if (reply === 'inner') { if (reply === 'inner') {
@ -3581,6 +3584,9 @@ export class BaileysStartupService extends ChannelStartupService {
descId: group.descId, descId: group.descId,
restrict: group.restrict, restrict: group.restrict,
announce: group.announce, announce: group.announce,
isCommunity: group.isCommunity,
isCommunityAnnounce: group.isCommunityAnnounce,
linkedParent: group.linkedParent,
}; };
if (getParticipants.getParticipants == 'true') { if (getParticipants.getParticipants == 'true') {