BroadcastToRoomReq
extends Message
in package
Generated from protobuf message <code>plugnmeet.BroadcastToRoomReq</code>
Table of Contents
Properties
- $only_to_admins : mixed
- Generated from protobuf field <code>bool only_to_admins = 2;</code>
- $payload : mixed
- $room_id : mixed
- Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
- $to_user_id : mixed
- Generated from protobuf field <code>optional string to_user_id = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- clearToUserId() : mixed
- getChatMsg() : BroadcastToRoomChatMessage|null
- Generated from protobuf field <code>.plugnmeet.BroadcastToRoomChatMessage chat_msg = 4;</code>
- getNotificationMsg() : BroadcastToRoomNotificationMsg|null
- Generated from protobuf field <code>.plugnmeet.BroadcastToRoomNotificationMsg notification_msg = 5;</code>
- getOnlyToAdmins() : bool
- Generated from protobuf field <code>bool only_to_admins = 2;</code>
- getPayload() : string
- getRoomId() : string
- Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
- getToUserId() : string
- Generated from protobuf field <code>optional string to_user_id = 3;</code>
- hasChatMsg() : mixed
- hasNotificationMsg() : mixed
- hasToUserId() : mixed
- setChatMsg() : $this
- Generated from protobuf field <code>.plugnmeet.BroadcastToRoomChatMessage chat_msg = 4;</code>
- setNotificationMsg() : $this
- Generated from protobuf field <code>.plugnmeet.BroadcastToRoomNotificationMsg notification_msg = 5;</code>
- setOnlyToAdmins() : $this
- Generated from protobuf field <code>bool only_to_admins = 2;</code>
- setRoomId() : $this
- Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
- setToUserId() : $this
- Generated from protobuf field <code>optional string to_user_id = 3;</code>
Properties
$only_to_admins
Generated from protobuf field <code>bool only_to_admins = 2;</code>
protected
mixed
$only_to_admins
= false
$payload
protected
mixed
$payload
$room_id
Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
protected
mixed
$room_id
= ''
$to_user_id
Generated from protobuf field <code>optional string to_user_id = 3;</code>
protected
mixed
$to_user_id
= null
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 bool $only_to_admins @type string $to_user_id @type \Mynaparrot\PlugnmeetProto\BroadcastToRoomChatMessage $chat_msg @type \Mynaparrot\PlugnmeetProto\BroadcastToRoomNotificationMsg $notification_msg}
clearToUserId()
public
clearToUserId() : mixed
getChatMsg()
Generated from protobuf field <code>.plugnmeet.BroadcastToRoomChatMessage chat_msg = 4;</code>
public
getChatMsg() : BroadcastToRoomChatMessage|null
Return values
BroadcastToRoomChatMessage|nullgetNotificationMsg()
Generated from protobuf field <code>.plugnmeet.BroadcastToRoomNotificationMsg notification_msg = 5;</code>
public
getNotificationMsg() : BroadcastToRoomNotificationMsg|null
Return values
BroadcastToRoomNotificationMsg|nullgetOnlyToAdmins()
Generated from protobuf field <code>bool only_to_admins = 2;</code>
public
getOnlyToAdmins() : bool
Return values
boolgetPayload()
public
getPayload() : string
Return values
stringgetRoomId()
Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
public
getRoomId() : string
Return values
stringgetToUserId()
Generated from protobuf field <code>optional string to_user_id = 3;</code>
public
getToUserId() : string
Return values
stringhasChatMsg()
public
hasChatMsg() : mixed
hasNotificationMsg()
public
hasNotificationMsg() : mixed
hasToUserId()
public
hasToUserId() : mixed
setChatMsg()
Generated from protobuf field <code>.plugnmeet.BroadcastToRoomChatMessage chat_msg = 4;</code>
public
setChatMsg(BroadcastToRoomChatMessage $var) : $this
Parameters
- $var : BroadcastToRoomChatMessage
Return values
$thissetNotificationMsg()
Generated from protobuf field <code>.plugnmeet.BroadcastToRoomNotificationMsg notification_msg = 5;</code>
public
setNotificationMsg(BroadcastToRoomNotificationMsg $var) : $this
Parameters
Return values
$thissetOnlyToAdmins()
Generated from protobuf field <code>bool only_to_admins = 2;</code>
public
setOnlyToAdmins(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetRoomId()
Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
public
setRoomId(string $var) : $this
Parameters
- $var : string
Return values
$thissetToUserId()
Generated from protobuf field <code>optional string to_user_id = 3;</code>
public
setToUserId(string $var) : $this
Parameters
- $var : string