Documentation

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
string

getMessageId()

Generated from protobuf field <code>string message_id = 1;</code>

public getMessageId() : string
Return values
string

getMetadata()

Generated from protobuf field <code>string metadata = 4;</code>

public getMetadata() : string
Return values
string

getSessionData()

Generated from protobuf field <code>bytes session_data = 5;</code>

public getSessionData() : string
Return values
string

getSessionId()

Generated from protobuf field <code>string session_id = 2;</code>

public getSessionId() : string
Return values
string

getText()

Generated from protobuf field <code>string text = 6;</code>

public getText() : string
Return values
string

setAgentName()

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

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

setMessageId()

Generated from protobuf field <code>string message_id = 1;</code>

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

setMetadata()

Generated from protobuf field <code>string metadata = 4;</code>

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

setSessionData()

Generated from protobuf field <code>bytes session_data = 5;</code>

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

setSessionId()

Generated from protobuf field <code>string session_id = 2;</code>

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

setText()

Generated from protobuf field <code>string text = 6;</code>

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

        
On this page

Search results