TextMessageRequest
extends Message
in package
Generated from protobuf message <code>livekit.TextMessageRequest</code>
Table of Contents
Properties
- $agent_name : mixed
- Generated from protobuf field <code>string agent_name = 3;</code>
- $message_id : mixed
- Generated from protobuf field <code>string message_id = 1;</code>
- $metadata : mixed
- Generated from protobuf field <code>string metadata = 4;</code>
- $session_data : mixed
- Generated from protobuf field <code>bytes session_data = 5;</code>
- $session_id : mixed
- Generated from protobuf field <code>string session_id = 2;</code>
- $text : mixed
- Generated from protobuf field <code>string text = 6;</code>
Methods
- __construct() : mixed
- Constructor.
- getAgentName() : string
- Generated from protobuf field <code>string agent_name = 3;</code>
- getMessageId() : string
- Generated from protobuf field <code>string message_id = 1;</code>
- getMetadata() : string
- Generated from protobuf field <code>string metadata = 4;</code>
- getSessionData() : string
- Generated from protobuf field <code>bytes session_data = 5;</code>
- getSessionId() : string
- Generated from protobuf field <code>string session_id = 2;</code>
- getText() : string
- Generated from protobuf field <code>string text = 6;</code>
- setAgentName() : $this
- Generated from protobuf field <code>string agent_name = 3;</code>
- setMessageId() : $this
- Generated from protobuf field <code>string message_id = 1;</code>
- setMetadata() : $this
- Generated from protobuf field <code>string metadata = 4;</code>
- setSessionData() : $this
- Generated from protobuf field <code>bytes session_data = 5;</code>
- setSessionId() : $this
- Generated from protobuf field <code>string session_id = 2;</code>
- setText() : $this
- Generated from protobuf field <code>string text = 6;</code>
Properties
$agent_name
Generated from protobuf field <code>string agent_name = 3;</code>
protected
mixed
$agent_name
= ''
$message_id
Generated from protobuf field <code>string message_id = 1;</code>
protected
mixed
$message_id
= ''
$metadata
Generated from protobuf field <code>string metadata = 4;</code>
protected
mixed
$metadata
= ''
$session_data
Generated from protobuf field <code>bytes session_data = 5;</code>
protected
mixed
$session_data
= ''
$session_id
Generated from protobuf field <code>string session_id = 2;</code>
protected
mixed
$session_id
= ''
$text
Generated from protobuf field <code>string text = 6;</code>
protected
mixed
$text
= ''
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 $message_id @type string $session_id @type string $agent_name @type string $metadata @type string $session_data @type string $text}
getAgentName()
Generated from protobuf field <code>string agent_name = 3;</code>
public
getAgentName() : string
Return values
stringgetMessageId()
Generated from protobuf field <code>string message_id = 1;</code>
public
getMessageId() : string
Return values
stringgetMetadata()
Generated from protobuf field <code>string metadata = 4;</code>
public
getMetadata() : string
Return values
stringgetSessionData()
Generated from protobuf field <code>bytes session_data = 5;</code>
public
getSessionData() : string
Return values
stringgetSessionId()
Generated from protobuf field <code>string session_id = 2;</code>
public
getSessionId() : string
Return values
stringgetText()
Generated from protobuf field <code>string text = 6;</code>
public
getText() : string
Return values
stringsetAgentName()
Generated from protobuf field <code>string agent_name = 3;</code>
public
setAgentName(string $var) : $this
Parameters
- $var : string
Return values
$thissetMessageId()
Generated from protobuf field <code>string message_id = 1;</code>
public
setMessageId(string $var) : $this
Parameters
- $var : string
Return values
$thissetMetadata()
Generated from protobuf field <code>string metadata = 4;</code>
public
setMetadata(string $var) : $this
Parameters
- $var : string
Return values
$thissetSessionData()
Generated from protobuf field <code>bytes session_data = 5;</code>
public
setSessionData(string $var) : $this
Parameters
- $var : string
Return values
$thissetSessionId()
Generated from protobuf field <code>string session_id = 2;</code>
public
setSessionId(string $var) : $this
Parameters
- $var : string
Return values
$thissetText()
Generated from protobuf field <code>string text = 6;</code>
public
setText(string $var) : $this
Parameters
- $var : string