This API getCallHistoryData
is utilized to request and retrieve Call History Records based on specified parameters.
It accepts the following input parameters:
const callHistoryResponse = await callHistory.getCallHistoryData(days, limit, sort, sortBy);
Number of days to fetch the call history data.
Number of records to be fetched.
Sort the records in ascending or descending order.
Sort the records by start time or end time.
This API updateMissedCalls
is utilized to update the read state of user missed calls based on the specified parameters.
It accepts the following input parameters:
const updateMissedCallHistoryResponse = await callHistory.updateMissedCalls(endTimeSessionIds);
An array of objects representing the endTime and sessionId of missed call history records.
This API deleteCallHistoryRecords
is utilized to delete the call history records based on the specified parameters.
It accepts the following input parameters:
const deleteCallHistoryRecordsResponse = await callHistory.deleteCallHistoryRecords(deleteSessionIds);
An array of objects representing the endTime and sessionId of the call history records.
.
Event to listen to.
Callback for event.
.
Event to remove listener on.
Callback for event.
Interface for CallHistory Client. This encompasses a set of APIs designed to facilitate the retrieval of recent Call History Record.