Documentation

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

$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

}

getOnlyToAdmins()

Generated from protobuf field <code>bool only_to_admins = 2;</code>

public getOnlyToAdmins() : bool
Return values
bool

getRoomId()

Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>

public getRoomId() : string
Return values
string

getToUserId()

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

public getToUserId() : string
Return values
string

setOnlyToAdmins()

Generated from protobuf field <code>bool only_to_admins = 2;</code>

public setOnlyToAdmins(bool $var) : $this
Parameters
$var : bool
Return values
$this

setRoomId()

Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>

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

setToUserId()

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

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

Search results