struct PlaceOS::Api::SessionSignal

Included Modules

Extended Modules

Defined in:

placeos-rest-api/controllers/webrtc/session_signal.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, session_id : String, type : PlaceOS::Api::SignalType, user_id : String, to_user : Nil | String, value : Nil | String) #

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

[View source]

Instance Method Detail

def id : String #

message id, generated by the sender


[View source]
def place_auth_id : String | Nil #

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

[View source]
def place_user_id : String | Nil #

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

[View source]
def session_id : String #

the unique id of the chat to join


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

the unique id of the chat to join


[View source]
def to_user : String | Nil #

the id of the user we want to communicate with


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

the id of the user we want to communicate with


[View source]
def type : SignalType #

the type of message


[View source]
def type=(type : SignalType) #

the type of message


[View source]
def user_id : String #

the chat user identifier, globally unique


[View source]
def value : String | Nil #

the payload, if any


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

the payload, if any


[View source]