PHP Class Intercom\IntercomEvents

Show file Open project: intercom/intercom-php Class Usage Examples

Public Methods

Method Description
__construct ( IntercomClient $client ) IntercomEvents constructor.
create ( array $options ) : mixed Creates Event.
getEvents ( array $options ) : mixed Lists User Events.

Method Details

__construct() public method

IntercomEvents constructor.
public __construct ( IntercomClient $client )
$client IntercomClient

create() public method

Creates Event.
See also: https://developers.intercom.io/reference#submitting-events
public create ( array $options ) : mixed
$options array
return mixed

getEvents() public method

Lists User Events.
See also: https://developers.intercom.io/reference#list-user-events
public getEvents ( array $options ) : mixed
$options array
return mixed