mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
✨ (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.
This commit is contained in:
parent
3af8f968c2
commit
aa18d13e21
@ -3552,6 +3552,9 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
restrict: group.restrict,
|
||||
announce: group.announce,
|
||||
participants: group.participants,
|
||||
isCommunity: group.isCommunity,
|
||||
isCommunityAnnounce: group.isCommunityAnnounce,
|
||||
linkedParent: group.linkedParent,
|
||||
};
|
||||
} catch (error) {
|
||||
if (reply === 'inner') {
|
||||
@ -3581,6 +3584,9 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
descId: group.descId,
|
||||
restrict: group.restrict,
|
||||
announce: group.announce,
|
||||
isCommunity: group.isCommunity,
|
||||
isCommunityAnnounce: group.isCommunityAnnounce,
|
||||
linkedParent: group.linkedParent,
|
||||
};
|
||||
|
||||
if (getParticipants.getParticipants == 'true') {
|
||||
|
Loading…
Reference in New Issue
Block a user