BroadcastToRoomNotificationMsg
extends Message
in package
Generated from protobuf message <code>plugnmeet.BroadcastToRoomNotificationMsg</code>
Table of Contents
Properties
- $text : mixed
- Generated from protobuf field <code>string text = 1 [(.buf.validate.field) = {</code>
- $type : mixed
- Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
- $with_sound : mixed
- Generated from protobuf field <code>bool with_sound = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- getText() : string
- Generated from protobuf field <code>string text = 1 [(.buf.validate.field) = {</code>
- getType() : int
- Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
- getWithSound() : bool
- Generated from protobuf field <code>bool with_sound = 3;</code>
- setText() : $this
- Generated from protobuf field <code>string text = 1 [(.buf.validate.field) = {</code>
- setType() : $this
- Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
- setWithSound() : $this
- Generated from protobuf field <code>bool with_sound = 3;</code>
Properties
$text
Generated from protobuf field <code>string text = 1 [(.buf.validate.field) = {</code>
protected
mixed
$text
= ''
$type
Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
protected
mixed
$type
= 0
$with_sound
Generated from protobuf field <code>bool with_sound = 3;</code>
protected
mixed
$with_sound
= false
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 $text @type int $type @type bool $with_sound}
getText()
Generated from protobuf field <code>string text = 1 [(.buf.validate.field) = {</code>
public
getText() : string
Return values
stringgetType()
Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
public
getType() : int
Return values
intgetWithSound()
Generated from protobuf field <code>bool with_sound = 3;</code>
public
getWithSound() : bool
Return values
boolsetText()
Generated from protobuf field <code>string text = 1 [(.buf.validate.field) = {</code>
public
setText(string $var) : $this
Parameters
- $var : string
Return values
$thissetType()
Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
public
setType(int $var) : $this
Parameters
- $var : int
Return values
$thissetWithSound()
Generated from protobuf field <code>bool with_sound = 3;</code>
public
setWithSound(bool $var) : $this
Parameters
- $var : bool