mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-08 13:00:24 -06:00
refactor(whatsapp.business.service): enhance media handling and audio processing
- Updated media message preparation to conditionally include filename and caption based on media type. - Improved error handling in media ID retrieval and audio processing methods. - Refactored audio processing to support file uploads and URL handling more effectively. - Enhanced logging for better error tracking during media operations.
This commit is contained in:
@@ -1819,7 +1819,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
// setTimeout(() => this.client.terminateCall(call.id, call.to), callDuration * 1000);
|
||||
|
||||
// return call;
|
||||
return { id: '123' };
|
||||
return { id: '123', jid, isVideo, callDuration };
|
||||
} catch (error) {
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user