bootdesk/chat-sdk

StreamingChunkEvent extends BroadcastEvent
in package

Table of Contents

Properties

$chunk  : string
$data  : array<string|int, mixed>
$isFinal  : bool
$messageId  : string
$threadId  : string
$timestamp  : int
$type  : string

Methods

__construct()  : mixed
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $threadId, string $messageId, string $chunk[, bool $isFinal = false ][, int|null $timestamp = null ]) : mixed
Parameters
$threadId : string
$messageId : string
$chunk : string
$isFinal : bool = false
$timestamp : int|null = null

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results