Documentation

TextMessageResponse extends Message
in package

Generated from protobuf message <code>livekit.TextMessageResponse</code>

Table of Contents

Properties

$error  : mixed
Generated from protobuf field <code>string error = 3;</code>
$message_id  : mixed
Indicate the request is completed
$session_data  : mixed
Generated from protobuf field <code>bytes session_data = 2;</code>

Methods

__construct()  : mixed
Constructor.
getError()  : string
Generated from protobuf field <code>string error = 3;</code>
getMessageId()  : string
Indicate the request is completed
getSessionData()  : string
Generated from protobuf field <code>bytes session_data = 2;</code>
setError()  : $this
Generated from protobuf field <code>string error = 3;</code>
setMessageId()  : $this
Indicate the request is completed
setSessionData()  : $this
Generated from protobuf field <code>bytes session_data = 2;</code>

Properties

$error

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

protected mixed $error = ''

$message_id

Indicate the request is completed

protected mixed $message_id = ''

Generated from protobuf field string message_id = 1;

$session_data

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

protected mixed $session_data = ''

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
      Indicate the request is completed
@type string $session_data
@type string $error

}

getError()

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

public getError() : string
Return values
string

getMessageId()

Indicate the request is completed

public getMessageId() : string

Generated from protobuf field string message_id = 1;

Return values
string

getSessionData()

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

public getSessionData() : string
Return values
string

setError()

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

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

setMessageId()

Indicate the request is completed

public setMessageId(string $var) : $this

Generated from protobuf field string message_id = 1;

Parameters
$var : string
Return values
$this

setSessionData()

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

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

        
On this page

Search results