Completed

Funções para Wa-Automate

Published on the August 08, 2021 in IT & Programming

About this project

Open

Olá, este projeto é para usar uma biblioteca WA-Automate para automatizar algumas funções do Whatsapp, por favor verifique para mais detalhes: https://github.com/open-wa/wa-automate-nodejs

O que precisamos:
- Veja os Events e Methods da API => https://docs.openwa.dev/classes/api_Client.Client.html
- Somente Código - não preciso do frontend;
- JS puro;

1. Fetch Json Config toda vez que o script rodar: https://lztforeferfiles.s3.us-west-2.amazonaws.com/base.json

2. Criar function, ignorar mensagens em gruPO:
    if message.isGroupMsg === true
    get message.chatId
      archiveChat

    json config:
    ignoreAllGroups: true => On and off
    notIgnoredGroups: if group id is on this list, exception => Not ignored

3.
Criar autoresponse function
    onAnyMessage
    if message.body === responseList.content (any one)
    get response object
    answer with answers object (will be with the same name and same position)    

4. Schedule Message
     Check time.now
     if time < time.now = ignore
     else, send message with content and ID

5. Send Message to all chats
     Check time.now
     if time < time.n
ow = ignore
     get all chat id
     loop thro all of them
     set tipying two seconds
     send
     next

Category IT & Programming
Subcategory Apps programming. Android, iOS and others
What is the scope of the project? Medium-sized change
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
I need to Create an app
App type Other
Back-end is required No
Payment gateway No

Delivery term: Not specified

Skills needed

Other projects posted by B. P.