Skip to content

setGroupTitle is not working #3293

@Debanjan-San

Description

@Debanjan-San
const { raw } = this.parseArgs(query);
const title = msg.quotedMsg && msg.quotedMsg?.body != "" ? msg.quotedMsg?.body : raw;
          if (!title) {
               await this.client.reply(msg.chatId, "❌ You forgot to provide the name.", msg.id);
               return undefined;
          }
          await this.client.setGroupTitle(msg.chatId as GroupChatId, title);

its returning false even tho the bot is admin
using wa-automate-nodejs: 4.76.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions