Documentation

InsightsAITextChatContent extends Message
in package

Generated from protobuf message <code>plugnmeet.InsightsAITextChatContent</code>

Table of Contents

Properties

$request_from  : mixed
Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
$role  : mixed
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
$stream_id  : mixed
Generated from protobuf field <code>optional string stream_id = 3;</code>
$text  : mixed
Generated from protobuf field <code>string text = 2;</code>

Methods

__construct()  : mixed
Constructor.
clearRequestFrom()  : mixed
clearStreamId()  : mixed
getRequestFrom()  : int
Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
getRole()  : int
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
getStreamId()  : string
Generated from protobuf field <code>optional string stream_id = 3;</code>
getText()  : string
Generated from protobuf field <code>string text = 2;</code>
hasRequestFrom()  : mixed
hasStreamId()  : mixed
setRequestFrom()  : $this
Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
setRole()  : $this
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
setStreamId()  : $this
Generated from protobuf field <code>optional string stream_id = 3;</code>
setText()  : $this
Generated from protobuf field <code>string text = 2;</code>

Properties

$request_from

Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>

protected mixed $request_from = null

$role

Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>

protected mixed $role = 0

$stream_id

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

protected mixed $stream_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 int $role
@type string $text
@type string $stream_id
@type int $request_from

}

getStreamId()

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

public getStreamId() : string
Return values
string

getText()

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

public getText() : string
Return values
string

setRequestFrom()

Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>

public setRequestFrom(int $var) : $this
Parameters
$var : int

one of the values in InsightsAIRequestSource

Return values
$this

setStreamId()

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

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

setText()

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

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

Search results