decord/source/modules/messages/getHumanizedCallDuration.tsx
2026-07-21 06:55:02 +00:00

21 lines
581 B
TypeScript

// Module ID: 7660
// Function ID: 61234
// Name: getHumanizedCallDuration
// Dependencies: [284214097]
// Exports: default
// Module 7660 (getHumanizedCallDuration)
const _module = require(dependencyMap[0]);
const result = _module.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;
};