class Place::Chat::RoomSettings
- Place::Chat::RoomSettings
- Reference
- Object
Overview
Room metadata => settings key
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
place/chat/health_notification_models.crConstructors
Instance Method Summary
- #available : Bool
- #is_open?(timezone : Time::Location)
- #members : Array(RoomMember)
- #members=(members : Array(RoomMember))
- #notifications : NotificationSettings
- #open_24_7 : Bool
- #opening : Hash(Time::DayOfWeek, OpeningHours)
-
#opening_hours : Array(Tuple(String, String, Bool))
0 index == Monday open time, close time, enabled
- #timezone : Time::Location
- #timezone=(timezone : Time::Location)
- #timezone? : Time::Location | Nil
Constructor Detail
Instance Method Detail
def opening_hours : Array(Tuple(String, String, Bool))
#
0 index == Monday open time, close time, enabled