Jump to content

Recommended Posts

Could you maybe extended the webhook receiving message feature? @Magd Almuntaser
Because, in this current release it only handle basic thing, like photos media only. But, the thing in the list bellow are posted NULL to webhook

  1. Document (DOCX,XLSX,PDF,etc)
  2. Sticker
  3. Audio (Audio,Voice Note)
  4. etc...

Also, maybe can you specify the mediaType when media message are detected?
Like mediaType:document or xlsx etc?

{
  "message": "Here's the document you've requested sir.", 
  "bufferMedia": Base64Encoded Media, 
  "mediaType": "pdf",
  "isGroup": true, // Detect if its group or personal
  "from": "62xxxxxx"
}

or maybe more complex one?
 

{
  "message": "parsed_command_content",
  "bufferMedia": "base64_encoded_media_or_null",
  "from": {
    "number": "sender_phone_number",
    "name": "sender_display_name",
    "profilePicture": "profile_picture_url_or_null"
  },
  "participant": "participant_phone_number_or_null",
  "group": {
    "id": "group_id",
    "name": "group_name",
    "participants": [
      {
        "number": "participant_number",
        "name": "participant_display_name"
      }
    ]
  },
  "messageType": "text|image|video|audio|document",
  "media": {
    "url": "media_url_or_null",
    "type": "image|video|audio|document",
    "size": "media_size_in_bytes",
    "caption": "media_caption_or_null"
  },
  "timestamp": "unix_timestamp",
  "messageId": "unique_message_id",
  "quotedMessage": {
    "content": "quoted_message_text_or_media_caption",
    "messageType": "text|image|video|audio|document",
    "media": {
      "url": "quoted_media_url_or_null",
      "type": "image|video|audio|document"
    },
    "from": {
      "number": "quoted_sender_number",
      "name": "quoted_sender_name"
    }
  }
}

Or maybe you have better solutions?
I actually already implemented this by modifying the incomingMessage.js and helper.js file, but maybe you could apply to the next version?
@Magd Almuntaser

Also, some new endpoint for Delete Device instead just Disconnect Device maybe?


Thank you in advance

Edited by DikaNura
  • Love 2
12 hours ago, Ipokane Biz said:

@adhiete mas, minta tolong kalau "waiting for node server" terus itu bagaimana ya? Jadi tidak kunjung muncul QR codenya

Shared hosting, node v20, WA v8.5.1

jelasinnya kurang detail Bro, sudah ngelakuin apa aja? sudah sesuai step by step install apa belum.
coba di jelasin stepnya disini, nanti dibantuin

59 minutes ago, DikaNura said:

Could you maybe extended the webhook receiving message feature? @Magd Almuntaser
Because, in this current release it only handle basic thing, like media. But, the thing in the list bellow are posted NULL to webhook

  1. Document (DOCX,XLSX,PDF,etc)
  2. Sticker
  3. Audio (Audio,Voice Note)
  4. etc...

Also, maybe can you specify the mediaType when media message are detected?
Like mediaType:document or xlsx etc?

{
  "message": "Here's the document you've requested sir.", 
  "bufferMedia": Base64Encoded Media, 
  "mediaType": "pdf",
  "isGroup": true, // Detect if its group or personal
  "from": "62xxxxxx"
}

Or maybe you have better solutions?

I actually already implemented this by modifying the incomingMessage.js and helper.js file, but maybe you could apply to the next version?
@Magd Almuntaser

Thank you in advance

WOW! nice Bro. Hope it will be implemented too on next version.

13 hours ago, adhiete said:

jelasinnya kurang detail Bro, sudah ngelakuin apa aja? sudah sesuai step by step install apa belum.
coba di jelasin stepnya disini, nanti dibantuin

Instal sudah sesuai step2 yang di MPWA, node juga sudah jalan. Detail apa yang diperlukan ya? Karena saya tidak melakukan apa-apa selain yang ada di petunjuk instal. Dan mau ngapa2in juga tidak tahu apanya yang harus diapain 😄

Screenshot 2024-11-22 at 00-11-24 Settings Server MPWA Multi device version.png

15 hours ago, DikaNura said:

Could you maybe extended the webhook receiving message feature? @Magd Almuntaser
Because, in this current release it only handle basic thing, like photos media only. But, the thing in the list bellow are posted NULL to webhook

  1. Document (DOCX,XLSX,PDF,etc)
  2. Sticker
  3. Audio (Audio,Voice Note)
  4. etc...

Also, maybe can you specify the mediaType when media message are detected?
Like mediaType:document or xlsx etc?

{
  "message": "Here's the document you've requested sir.", 
  "bufferMedia": Base64Encoded Media, 
  "mediaType": "pdf",
  "isGroup": true, // Detect if its group or personal
  "from": "62xxxxxx"
}

or maybe more complex one?
 

{
  "message": "parsed_command_content",
  "bufferMedia": "base64_encoded_media_or_null",
  "from": {
    "number": "sender_phone_number",
    "name": "sender_display_name",
    "profilePicture": "profile_picture_url_or_null"
  },
  "participant": "participant_phone_number_or_null",
  "group": {
    "id": "group_id",
    "name": "group_name",
    "participants": [
      {
        "number": "participant_number",
        "name": "participant_display_name"
      }
    ]
  },
  "messageType": "text|image|video|audio|document",
  "media": {
    "url": "media_url_or_null",
    "type": "image|video|audio|document",
    "size": "media_size_in_bytes",
    "caption": "media_caption_or_null"
  },
  "timestamp": "unix_timestamp",
  "messageId": "unique_message_id",
  "quotedMessage": {
    "content": "quoted_message_text_or_media_caption",
    "messageType": "text|image|video|audio|document",
    "media": {
      "url": "quoted_media_url_or_null",
      "type": "image|video|audio|document"
    },
    "from": {
      "number": "quoted_sender_number",
      "name": "quoted_sender_name"
    }
  }
}

Or maybe you have better solutions?
I actually already implemented this by modifying the incomingMessage.js and helper.js file, but maybe you could apply to the next version?
@Magd Almuntaser

Also, some new endpoint for Delete Device instead just Disconnect Device maybe?


Thank you in advance

Ok i will see what i can do ..
But about sticker there's send sticker on (api-docs)

9 hours ago, Dwi Andarini said:

hallo klo  panduan instalasi pakai vps ubuntu ada nggak ya ? 

 

klo ada boleh donk 

If you are using an empty Ubuntu VPS that does not have any content or website, you can use this code and install it via SSH:
Warning Warning Warning (Do not use this command if your server is not empty, because this command is only for completely empty servers because it installs all the necessary programs and creates the necessary folders)

wget --no-check-certificate -O mpwa-new.sh https://www.onexgen.com/mpwa/download/mpwa_new.sh
chmod +x mpwa_new.sh
./mpwa_new.sh

But if your server contains a website and previous files, the installation is very easy and you will find people here who have explained the installation method and people here will also help you

  • Love 1
  • Thanks 1

@Magd Almuntaser Hi, I also tried the WhatsApp business catalog. Bailey's library has business.js, which has all the functions. It would be great if you could also add WhatsApp business catalog APIs and also in webhook. Catalog APIs will be very useful. Many small businesses can connect WhatsApp with POS and add products to their WhatsApp business directly from their POS. I also tried this thing, and it works fine. I made new functions for getting and posting catalogs to WhatsApp that are working fine.

1 minute ago, Hafiz M Qasim said:

@Magd Almuntaser Hi, I also tried the WhatsApp business catalog. Bailey's library has business.js, which has all the functions. It would be great if you could also add WhatsApp business catalog APIs and also in webhook. Catalog APIs will be very useful. Many small businesses can connect WhatsApp with POS and add products to their WhatsApp business directly from their POS. I also tried this thing, and it works fine. I made new functions for getting and posting catalogs to WhatsApp that are working fine.

Yes, it is already present in mpwa, but I have previously stopped it, because it is useless. If you have WhatsApp Business, why would you use the automatic response, when WhatsApp will give you the automatic response anyway.. mpwa is more directed to people who use regular WhatsApp as a business WhatsApp.

But these features can be added later after completing adding all the features to the regular WhatsApp 

@Magd Almuntaserok sure. but the problem is not regular or business WhatsApp.The problem is that I have an online store and I publish my products to my store but I also want to add products to my WhatsApp business  so I have to add those products manually if I have APIs I can implement them with an online store as I will publish products on the online store that products will automatically be added on my WhatsApp business catalog

Edited by Hafiz M Qasim
6 hours ago, Magd Almuntaser said:

Ok i will see what i can do ..
But about sticker there's send sticker on (api-docs)

If you are using an empty Ubuntu VPS that does not have any content or website, you can use this code and install it via SSH:
Warning Warning Warning (Do not use this command if your server is not empty, because this command is only for completely empty servers because it installs all the necessary programs and creates the necessary folders)

wget --no-check-certificate -O mpwa-new.sh https://www.onexgen.com/mpwa/download/mpwa_new.sh
chmod +x mpwa_new.sh
./mpwa_new.sh

But if your server contains a website and previous files, the installation is very easy and you will find people here who have explained the installation method and people here will also help you

I got an idea, there are cheap Nat Vps seller on indonesia. Can this script installed on nat vps?

cause the problem is must searching port for accessing it. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...