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}
clearToUserId()
public
clearToUserId() : mixed
getFromUserId()
Generated from protobuf field <code>string from_user_id = 3;</code>
public
getFromUserId() : string
Return values
stringgetId()
Generated from protobuf field <code>string id = 1;</code>
public
getId() : string
Return values
stringgetMessage()
Generated from protobuf field <code>string message = 5;</code>
public
getMessage() : string
Return values
stringgetToUserId()
Generated from protobuf field <code>optional string to_user_id = 4;</code>
public
getToUserId() : string
Return values
stringgetType()
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>
public
getType() : int
Return values
inthasToUserId()
public
hasToUserId() : mixed
setFromUserId()
Generated from protobuf field <code>string from_user_id = 3;</code>
public
setFromUserId(string $var) : $this
Parameters
- $var : string
Return values
$thissetId()
Generated from protobuf field <code>string id = 1;</code>
public
setId(string $var) : $this
Parameters
- $var : string
Return values
$thissetMessage()
Generated from protobuf field <code>string message = 5;</code>
public
setMessage(string $var) : $this
Parameters
- $var : string
Return values
$thissetToUserId()
Generated from protobuf field <code>optional string to_user_id = 4;</code>
public
setToUserId(string $var) : $this
Parameters
- $var : string
Return values
$thissetType()
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType type = 2;</code>
public
setType(int $var) : $this
Parameters
- $var : int