decord/beta/source/modules/messages/getHumanizedCallDuration.tsx

23 lines
564 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 7998
// Function ID: 7999
// Name: getHumanizedCallDuration
// Dependencies: [2]
// Exports: default
2026-10-12 16:32:48 +00:00
// Module 7998 (getHumanizedCallDuration)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/messages/getHumanizedCallDuration.tsx");
export default function getHumanizedCallDuration(call) {
let duration = null;
if (null != call.call) {
duration = call.call.duration;
}
let humanizeResult = null;
if (null != duration) {
humanizeResult = duration.humanize();
}
return humanizeResult;
};