Edit

Share via


HangupAction class

Action builder class designed to simplify building hangup actions.

Constructors

HangupAction(CallSession)

Creates a new instance of the action builder.

Methods

toAction()

Returns the JSON object for the action.

Constructor Details

HangupAction(CallSession)

Creates a new instance of the action builder.

new HangupAction(session?: CallSession)

Parameters

session
CallSession

Method Details

toAction()

Returns the JSON object for the action.

function toAction()

Returns