addCallRetractListener(handler:)

Event fired when a call is retracted or hung up

func addCallRetractListener(handler: @escaping @Sendable (String, String) -> Void) -> Int32

Parameters

handler

takes two arguments, the associated Chat ID and Session ID

Return Value

token for use with removeEventListener