Home > borogove > Client > addCallRetractListener

Client.addCallRetractListener() method

Event fired when a call is retracted or hung up

Signature:

addCallRetractListener(handler: (arg0: string, arg1: string) => void): number;

Parameters

Parameter Type Description
handler (arg0: string, arg1: string) => void takes two arguments, the associated Chat ID and Session ID

Returns:

number

token for use with removeEventListener