DikaNura Posted yesterday at 02:37 AM Posted yesterday at 02:37 AM (edited) 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 Document (DOCX,XLSX,PDF,etc) Sticker Audio (Audio,Voice Note) 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 20 hours ago by DikaNura 2 Quote
adhiete Posted yesterday at 03:36 AM Posted yesterday at 03:36 AM 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 Document (DOCX,XLSX,PDF,etc) Sticker Audio (Audio,Voice Note) 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. Quote
Dwi Andarini Posted 19 hours ago Posted 19 hours ago hallo klo panduan instalasi pakai vps ubuntu ada nggak ya ? klo ada boleh donk Quote
Ipokane Biz Posted 10 hours ago Posted 10 hours ago 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 Quote
Magd Almuntaser Posted 9 hours ago Author Posted 9 hours ago 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 Document (DOCX,XLSX,PDF,etc) Sticker Audio (Audio,Voice Note) 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 1 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Hafiz M Qasim Posted 9 hours ago Posted 9 hours ago @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. Quote
Magd Almuntaser Posted 9 hours ago Author Posted 9 hours ago 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 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Hafiz M Qasim Posted 8 hours ago Posted 8 hours ago (edited) @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 8 hours ago by Hafiz M Qasim Quote
Unicode Posted 3 hours ago Posted 3 hours ago 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. Quote
Dwi Andarini Posted 1 hour ago Posted 1 hour ago 8 hours ago, Magd Almuntaser said: 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 ada yang bisa bantu para master Quote
Recommended Posts
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.