Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

help #727

Open
leandrodesign opened this issue Jul 9, 2023 · 0 comments
Open

help #727

leandrodesign opened this issue Jul 9, 2023 · 0 comments

Comments

@leandrodesign
Copy link

leandrodesign commented Jul 9, 2023

I'm having trouble replying to a specific message, can someone help me?

is correct?

async replyMessage(phoneNumber, text, quotedMessage) {
        await this.verifyId(this.getWhatsAppId(phoneNumber))
        await this.instance.sock?.presenceSubscribe(phoneNumber);
        const data = await this.instance.sock?.sendMessage(
            this.getWhatsAppId(phoneNumber),
            {
                text: text,
                quoted: quotedMessage
          }
        );
        return data;
    }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant