_propDict)) { return $this->_propDict["isHidden"]; } else { return null; } } /** * Sets the isHidden * Indicates whether the chat is hidden for the current user. * * @param bool $val The value of the isHidden * * @return ChatViewpoint */ public function setIsHidden($val) { $this->_propDict["isHidden"] = $val; return $this; } /** * Gets the lastMessageReadDateTime * Represents the dateTime up until which the current user has read chatMessages in a specific chat. * * @return \DateTime|null The lastMessageReadDateTime */ public function getLastMessageReadDateTime() { if (array_key_exists("lastMessageReadDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastMessageReadDateTime"], "\DateTime") || is_null($this->_propDict["lastMessageReadDateTime"])) { return $this->_propDict["lastMessageReadDateTime"]; } else { $this->_propDict["lastMessageReadDateTime"] = new \DateTime($this->_propDict["lastMessageReadDateTime"]); return $this->_propDict["lastMessageReadDateTime"]; } } return null; } /** * Sets the lastMessageReadDateTime * Represents the dateTime up until which the current user has read chatMessages in a specific chat. * * @param \DateTime $val The value to assign to the lastMessageReadDateTime * * @return ChatViewpoint The ChatViewpoint */ public function setLastMessageReadDateTime($val) { $this->_propDict["lastMessageReadDateTime"] = $val; return $this; } }