public function bind($eventName, $handler, $authType = null)
{
if (!$this->isEventHandlerCodeValid($eventName)) {
throw new Bitrix24Exception('eventName is invalid');
}
if (is_null($handler)) {
throw new Bitrix24Exception('handler URL is null');
}
$fullResult = $this->client->call('event.bind', array('event' => $eventName, 'handler' => $handler, 'auth_type' => $authType));
return $fullResult;
}