From dc864055a39fb3b29f97f938b8ea06f6607bfdaf Mon Sep 17 00:00:00 2001 From: devlikepro Date: Sun, 18 Aug 2024 11:58:46 +0700 Subject: [PATCH] [core] NOWEB - new newsletter actions --- src/core/engines/noweb/session.noweb.core.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/engines/noweb/session.noweb.core.ts b/src/core/engines/noweb/session.noweb.core.ts index 375df208..f8e64dd5 100644 --- a/src/core/engines/noweb/session.noweb.core.ts +++ b/src/core/engines/noweb/session.noweb.core.ts @@ -1023,19 +1023,19 @@ export class WhatsappSessionNoWebCore extends WhatsappSession { } public async channelsFollowChannel(id: string): Promise { - return await this.sock.newsletterFollow(id); + return await this.sock.newsletterAction(id, 'follow'); } public async channelsUnfollowChannel(id: string): Promise { - return await this.sock.newsletterUnfollow(id); + return await this.sock.newsletterAction(id, 'unfollow'); } public async channelsMuteChannel(id: string): Promise { - return await this.sock.newsletterMute(id); + return await this.sock.newsletterAction(id, 'mute'); } public async channelsUnmuteChannel(id: string): Promise { - return await this.sock.newsletterUnmute(id); + return await this.sock.newsletterAction(id, 'unmute'); } /**