CallUser::toArray

  1. Bitrix24 API (v. 23.675.0)
  2. im
  3. CallUser
  4. toArray
  • Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/call/calluser.php
  • Класс: BitrixImCallCallUser
  • Вызов: CallUser::toArray
public function toArray()
{
	return [
		'USER_ID' => $this->userId,
		'CALL_ID' => $this->callId,
		'STATE' => $this->state,
		'LAST_SEEN' => $this->lastSeen,
		'FIRST_JOINED' => $this->firstJoined,
		'IS_MOBILE' => is_bool($this->isMobile) ? $this->isMobile : null,
		'SHARED_SCREEN' => is_bool($this->sharedScreen) ? $this->sharedScreen : null,
		'RECORDED' => is_bool($this->recorded) ? $this->recorded : null
	];
}

Добавить комментарий