DataMessageReq
extends Message
in package
Generated from protobuf message <code>plugnmeet.DataMessageReq</code>
Table of Contents
Properties
- $is_admin : mixed
- Generated from protobuf field <code>bool is_admin = 9;</code>
- $msg : mixed
- Generated from protobuf field <code>string msg = 6;</code>
- $msg_body_type : mixed
- Generated from protobuf field <code>.plugnmeet.DataMsgBodyType msg_body_type = 5;</code>
- $Requested_user_id : mixed
- Generated from protobuf field <code>string Requested_user_id = 7;</code>
- $room_id : mixed
- Generated from protobuf field <code>string room_id = 1;</code>
- $room_sid : mixed
- Generated from protobuf field <code>string room_sid = 2;</code>
- $user_id : mixed
- Generated from protobuf field <code>string user_id = 3;</code>
- $user_sid : mixed
- Generated from protobuf field <code>string user_sid = 4;</code>
- $send_to : mixed
- Generated from protobuf field <code>repeated string send_to = 8;</code>
Methods
- __construct() : mixed
- Constructor.
- getIsAdmin() : bool
- Generated from protobuf field <code>bool is_admin = 9;</code>
- getMsg() : string
- Generated from protobuf field <code>string msg = 6;</code>
- getMsgBodyType() : int
- Generated from protobuf field <code>.plugnmeet.DataMsgBodyType msg_body_type = 5;</code>
- getRequestedUserId() : string
- Generated from protobuf field <code>string Requested_user_id = 7;</code>
- getRoomId() : string
- Generated from protobuf field <code>string room_id = 1;</code>
- getRoomSid() : string
- Generated from protobuf field <code>string room_sid = 2;</code>
- getSendTo() : RepeatedField<string|int, string>
- Generated from protobuf field <code>repeated string send_to = 8;</code>
- getUserId() : string
- Generated from protobuf field <code>string user_id = 3;</code>
- getUserSid() : string
- Generated from protobuf field <code>string user_sid = 4;</code>
- setIsAdmin() : $this
- Generated from protobuf field <code>bool is_admin = 9;</code>
- setMsg() : $this
- Generated from protobuf field <code>string msg = 6;</code>
- setMsgBodyType() : $this
- Generated from protobuf field <code>.plugnmeet.DataMsgBodyType msg_body_type = 5;</code>
- setRequestedUserId() : $this
- Generated from protobuf field <code>string Requested_user_id = 7;</code>
- setRoomId() : $this
- Generated from protobuf field <code>string room_id = 1;</code>
- setRoomSid() : $this
- Generated from protobuf field <code>string room_sid = 2;</code>
- setSendTo() : $this
- Generated from protobuf field <code>repeated string send_to = 8;</code>
- setUserId() : $this
- Generated from protobuf field <code>string user_id = 3;</code>
- setUserSid() : $this
- Generated from protobuf field <code>string user_sid = 4;</code>
Properties
$is_admin
Generated from protobuf field <code>bool is_admin = 9;</code>
protected
mixed
$is_admin
= false
$msg
Generated from protobuf field <code>string msg = 6;</code>
protected
mixed
$msg
= ''
$msg_body_type
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType msg_body_type = 5;</code>
protected
mixed
$msg_body_type
= 0
$Requested_user_id
Generated from protobuf field <code>string Requested_user_id = 7;</code>
protected
mixed
$Requested_user_id
= ''
$room_id
Generated from protobuf field <code>string room_id = 1;</code>
protected
mixed
$room_id
= ''
$room_sid
Generated from protobuf field <code>string room_sid = 2;</code>
protected
mixed
$room_sid
= ''
$user_id
Generated from protobuf field <code>string user_id = 3;</code>
protected
mixed
$user_id
= ''
$user_sid
Generated from protobuf field <code>string user_sid = 4;</code>
protected
mixed
$user_sid
= ''
$send_to
Generated from protobuf field <code>repeated string send_to = 8;</code>
private
mixed
$send_to
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 $room_id @type string $room_sid @type string $user_id @type string $user_sid @type int $msg_body_type @type string $msg @type string $Requested_user_id @type string[] $send_to @type bool $is_admin}
getIsAdmin()
Generated from protobuf field <code>bool is_admin = 9;</code>
public
getIsAdmin() : bool
Return values
boolgetMsg()
Generated from protobuf field <code>string msg = 6;</code>
public
getMsg() : string
Return values
stringgetMsgBodyType()
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType msg_body_type = 5;</code>
public
getMsgBodyType() : int
Return values
intgetRequestedUserId()
Generated from protobuf field <code>string Requested_user_id = 7;</code>
public
getRequestedUserId() : string
Return values
stringgetRoomId()
Generated from protobuf field <code>string room_id = 1;</code>
public
getRoomId() : string
Return values
stringgetRoomSid()
Generated from protobuf field <code>string room_sid = 2;</code>
public
getRoomSid() : string
Return values
stringgetSendTo()
Generated from protobuf field <code>repeated string send_to = 8;</code>
public
getSendTo() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>getUserId()
Generated from protobuf field <code>string user_id = 3;</code>
public
getUserId() : string
Return values
stringgetUserSid()
Generated from protobuf field <code>string user_sid = 4;</code>
public
getUserSid() : string
Return values
stringsetIsAdmin()
Generated from protobuf field <code>bool is_admin = 9;</code>
public
setIsAdmin(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetMsg()
Generated from protobuf field <code>string msg = 6;</code>
public
setMsg(string $var) : $this
Parameters
- $var : string
Return values
$thissetMsgBodyType()
Generated from protobuf field <code>.plugnmeet.DataMsgBodyType msg_body_type = 5;</code>
public
setMsgBodyType(int $var) : $this
Parameters
- $var : int
Return values
$thissetRequestedUserId()
Generated from protobuf field <code>string Requested_user_id = 7;</code>
public
setRequestedUserId(string $var) : $this
Parameters
- $var : string
Return values
$thissetRoomId()
Generated from protobuf field <code>string room_id = 1;</code>
public
setRoomId(string $var) : $this
Parameters
- $var : string
Return values
$thissetRoomSid()
Generated from protobuf field <code>string room_sid = 2;</code>
public
setRoomSid(string $var) : $this
Parameters
- $var : string
Return values
$thissetSendTo()
Generated from protobuf field <code>repeated string send_to = 8;</code>
public
setSendTo(array<string|int, string> $var) : $this
Parameters
- $var : array<string|int, string>
Return values
$thissetUserId()
Generated from protobuf field <code>string user_id = 3;</code>
public
setUserId(string $var) : $this
Parameters
- $var : string
Return values
$thissetUserSid()
Generated from protobuf field <code>string user_sid = 4;</code>
public
setUserSid(string $var) : $this
Parameters
- $var : string