class Place::Chat::Participant
- Place::Chat::Participant
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
Extended Modules
- JSON::Schema
Defined in:
place/chat/health_rooms_models.crConstructors
- .new(user_id : String, name : String, email : Nil | String = nil, phone : Nil | String = nil, type : Nil | String = nil, staff_user_id : Nil | String = nil, text_chat_only : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #appointment_time : String | Nil
-
#captcha : String | Nil
as we don't care about this field anymore and don't want it saved in unmapped
-
#captcha=(captcha : String | Nil)
as we don't care about this field anymore and don't want it saved in unmapped
-
#chat_to_user_id : String | Nil
the placeos user id we would like to notify if we have the user details
-
#chat_to_user_id=(chat_to_user_id : String | Nil)
the placeos user id we would like to notify if we have the user details
- #connected : Bool
- #connected=(connected : Bool)
- #contacted : Bool
- #contacted=(contacted : Bool)
- #email : String | Nil
- #email=(email : String | Nil)
- #name : String
- #name=(name : String)
- #phone : String | Nil
- #phone=(phone : String | Nil)
-
#session_id : String | Nil
the chat session id the user is planning to use, the initial chat room
-
#session_id=(session_id : String | Nil)
the chat session id the user is planning to use, the initial chat room
- #staff_user_id : String | Nil
- #staff_user_id=(staff_user_id : String | Nil)
- #text_chat_only : Bool | Nil
- #text_chat_only=(text_chat_only : Bool | Nil)
-
#type : String | Nil
the type of guest (additional information)
-
#type=(type : String | Nil)
the type of guest (additional information)
-
#user_id : String
the users chat id.
-
#user_id=(user_id : String)
the users chat id.
Constructor Detail
Instance Method Detail
as we don't care about this field anymore and don't want it saved in unmapped
as we don't care about this field anymore and don't want it saved in unmapped
the placeos user id we would like to notify if we have the user details
the placeos user id we would like to notify if we have the user details
the chat session id the user is planning to use, the initial chat room
the chat session id the user is planning to use, the initial chat room
the users chat id. This purely generated on the frontend not a placeos user_id, we use it to track browser instances
the users chat id. This purely generated on the frontend not a placeos user_id, we use it to track browser instances