DikaNura Posted 6 hours ago Posted 6 hours ago (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 1 hour ago by DikaNura 1 Quote
adhiete Posted 5 hours ago Posted 5 hours ago 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 49 minutes ago Posted 49 minutes ago hallo klo panduan instalasi pakai vps ubuntu ada nggak ya ? klo ada boleh donk 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.