bootdesk/chat-sdk

ActionEvent
in package
implements StoppableEventInterface uses OpensModals

Table of Contents

Interfaces

StoppableEventInterface

Properties

$actionId  : string
$messageId  : string
$originId  : string|null
$raw  : mixed
$thread  : Thread
$triggerId  : string|null
$user  : Author
$value  : string|null
$propagationStopped  : bool

Methods

__construct()  : mixed
isPropagationStopped()  : bool
openModal()  : array<string|int, mixed>|null
stopPropagation()  : void

Properties

$originId read-only

public string|null $originId = null

$propagationStopped

private bool $propagationStopped = false

Methods

__construct()

public __construct(string $actionId, string|null $value, string $messageId, string|null $triggerId, Thread $thread, Author $user[, mixed $raw = null ][, string|null $originId = null ]) : mixed
Parameters
$actionId : string
$value : string|null
$messageId : string
$triggerId : string|null
$thread : Thread
$user : Author
$raw : mixed = null
$originId : string|null = null

isPropagationStopped()

public isPropagationStopped() : bool
Return values
bool

openModal()

public openModal(Modal $modal) : array<string|int, mixed>|null
Parameters
$modal : Modal
Return values
array<string|int, mixed>|null
On this page

Search results