Documentation

DataChannelMessage extends Message
in package

Generated from protobuf message <code>plugnmeet.DataChannelMessage</code>

Table of Contents

Properties

$from_user_id  : mixed
Generated from protobuf field <code>string from_user_id = 3;</code>
$id  : mixed
Generated from protobuf field <code>string id = 1;</code>
$message  : mixed
Generated from protobuf field <code>string message = 5;</code>
$to_user_id  : mixed
Generated from protobuf field <code>optional string to_user_id = 4;</code>
$type  : mixed
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>

Methods

__construct()  : mixed
Constructor.
clearToUserId()  : mixed
getFromUserId()  : string
Generated from protobuf field <code>string from_user_id = 3;</code>
getId()  : string
Generated from protobuf field <code>string id = 1;</code>
getMessage()  : string
Generated from protobuf field <code>string message = 5;</code>
getToUserId()  : string
Generated from protobuf field <code>optional string to_user_id = 4;</code>
getType()  : int
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>
hasToUserId()  : mixed
setFromUserId()  : $this
Generated from protobuf field <code>string from_user_id = 3;</code>
setId()  : $this
Generated from protobuf field <code>string id = 1;</code>
setMessage()  : $this
Generated from protobuf field <code>string message = 5;</code>
setToUserId()  : $this
Generated from protobuf field <code>optional string to_user_id = 4;</code>
setType()  : $this
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>

Properties

$from_user_id

Generated from protobuf field <code>string from_user_id = 3;</code>

protected mixed $from_user_id = ''

$id

Generated from protobuf field <code>string id = 1;</code>

protected mixed $id = ''

$message

Generated from protobuf field <code>string message = 5;</code>

protected mixed $message = ''

$to_user_id

Generated from protobuf field <code>optional string to_user_id = 4;</code>

protected mixed $to_user_id = null

$type

Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>

protected mixed $type = 0

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type string $id
@type int $type
@type string $from_user_id
@type string $to_user_id
@type string $message

}

getFromUserId()

Generated from protobuf field <code>string from_user_id = 3;</code>

public getFromUserId() : string
Return values
string

getId()

Generated from protobuf field <code>string id = 1;</code>

public getId() : string
Return values
string

getMessage()

Generated from protobuf field <code>string message = 5;</code>

public getMessage() : string
Return values
string

getToUserId()

Generated from protobuf field <code>optional string to_user_id = 4;</code>

public getToUserId() : string
Return values
string

getType()

Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>

public getType() : int
Return values
int

setFromUserId()

Generated from protobuf field <code>string from_user_id = 3;</code>

public setFromUserId(string $var) : $this
Parameters
$var : string
Return values
$this

setId()

Generated from protobuf field <code>string id = 1;</code>

public setId(string $var) : $this
Parameters
$var : string
Return values
$this

setMessage()

Generated from protobuf field <code>string message = 5;</code>

public setMessage(string $var) : $this
Parameters
$var : string
Return values
$this

setToUserId()

Generated from protobuf field <code>optional string to_user_id = 4;</code>

public setToUserId(string $var) : $this
Parameters
$var : string
Return values
$this

setType()

Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>

public setType(int $var) : $this
Parameters
$var : int
Return values
$this

        
On this page

Search results