public function deleteById($id) { if (null === $id) { throw new Bitrix24Exception('id is null'); } $fullResult = $this->client->call('im.notify.delete', array('id' => (int) $id)); return $fullResult; }