We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acd53e3 + 1030613 commit c1122e0Copy full SHA for c1122e0
src/message/services/inbound/gupshup.whatsapp.service.ts
@@ -91,6 +91,9 @@ export class GupshupWhatsappInboundService {
91
}
92
return;
93
94
+ if (whatsappMessage.type == 'voice') {
95
+ throw new Error('Media Type Not Supported');
96
+ }
97
98
const xMessagePayload: XMessage = await convertMessageToXMsg(whatsappMessage);
99
if (xMessagePayload.messageType != MessageType.TEXT) {
0 commit comments