class Place::Chat::Participant

Included Modules

Extended Modules

Defined in:

place/chat/health_rooms_models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def appointment_time : String | Nil #

[View source]
def captcha : String | Nil #

as we don't care about this field anymore and don't want it saved in unmapped


[View source]
def captcha=(captcha : String | Nil) #

as we don't care about this field anymore and don't want it saved in unmapped


[View source]
def chat_to_user_id : String | Nil #

the placeos user id we would like to notify if we have the user details


[View source]
def 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


[View source]
def connected : Bool #

[View source]
def connected=(connected : Bool) #

[View source]
def contacted : Bool #

[View source]
def contacted=(contacted : Bool) #

[View source]
def email : String | Nil #

[View source]
def email=(email : String | Nil) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def phone : String | Nil #

[View source]
def phone=(phone : String | Nil) #

[View source]
def session_id : String | Nil #

the chat session id the user is planning to use, the initial chat room


[View source]
def session_id=(session_id : String | Nil) #

the chat session id the user is planning to use, the initial chat room


[View source]
def staff_user_id : String | Nil #

[View source]
def staff_user_id=(staff_user_id : String | Nil) #

[View source]
def text_chat_only : Bool | Nil #

[View source]
def text_chat_only=(text_chat_only : Bool | Nil) #

[View source]
def type : String | Nil #

the type of guest (additional information)


[View source]
def type=(type : String | Nil) #

the type of guest (additional information)


[View source]
def user_id : String #

the users chat id. This purely generated on the frontend not a placeos user_id, we use it to track browser instances


[View source]
def user_id=(user_id : String) #

the users chat id. This purely generated on the frontend not a placeos user_id, we use it to track browser instances


[View source]