MessageContext
Table of Contents
Properties
-
$message
: Message
-
$skippedMessages
: array<string|int, Message>
-
$thread
: Thread
-
$totalSinceLastHandler
: int
-
$transcripts
: TranscriptsApi|null
-
$skipped
: bool
Methods
-
__construct()
: mixed
-
getState()
: array<string|int, mixed>
-
isSkipped()
: bool
-
setState()
: void
-
skip()
: void
$message
read-only
public
Message
$message
$skippedMessages
read-only
public
array<string|int, Message>
$skippedMessages
$thread
read-only
public
Thread
$thread
$totalSinceLastHandler
read-only
public
int
$totalSinceLastHandler
$transcripts
read-only
public
TranscriptsApi|null
$transcripts
= null
$skipped
private
bool
$skipped
= false
__construct()
public
__construct(Thread $thread, Message $message[, TranscriptsApi|null $transcripts = null ][, array<string|int, mixed> $skippedMessages = [] ][, int $totalSinceLastHandler = 1 ]) : mixed
Parameters
-
$thread
: Thread
-
-
$message
: Message
-
-
$transcripts
: TranscriptsApi|null
= null
-
-
$skippedMessages
: array<string|int, mixed>
= []
-
-
$totalSinceLastHandler
: int
= 1
-
getState()
public
getState() : array<string|int, mixed>
Return values
array<string|int, mixed>
isSkipped()
public
isSkipped() : bool
setState()
public
setState(array<string|int, mixed> $state) : void
Parameters
-
$state
: array<string|int, mixed>
-
skip()
public
skip() : void