[core] NOWEB - new newsletter actions

This commit is contained in:
devlikepro committed 2024-08-27 16:43:00 +07:00
1 parent bad9537aba
commit dc864055a3
1 file changed
+4 -4
+4 -4
View File
@@ -1023,19 +1023,19 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
}
public async channelsFollowChannel(id: string): Promise<void> {
return await this.sock.newsletterFollow(id);
return await this.sock.newsletterAction(id, 'follow');
}
public async channelsUnfollowChannel(id: string): Promise<void> {
return await this.sock.newsletterUnfollow(id);
return await this.sock.newsletterAction(id, 'unfollow');
}
public async channelsMuteChannel(id: string): Promise<void> {
return await this.sock.newsletterMute(id);
return await this.sock.newsletterAction(id, 'mute');
}
public async channelsUnmuteChannel(id: string): Promise<void> {
return await this.sock.newsletterUnmute(id);
return await this.sock.newsletterAction(id, 'unmute');
}
/**