Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
pushAudio(
audio: {
originalContentUrl: string;
duration: number;
},
options?: LineTypes.MessageOptions
) {
return this.push([Line.createAudio(audio, options)], options);
}
sendAudio(
audio: {
originalContentUrl: string;
duration: number;
},
options?: LineTypes.MessageOptions
) {
return this.send([Line.createAudio(audio, options)], options);
}
replyAudio(
audio: {
originalContentUrl: string;
duration: number;
},
options?: LineTypes.MessageOptions
) {
return this.reply([Line.createAudio(audio, options)], options);
}