bootdesk/chat-sdk

SlashCommandEvent
in package
implements StoppableEventInterface uses OpensModals

Table of Contents

Interfaces

StoppableEventInterface

Properties

$adapter  : Adapter
$channel  : Channel
$command  : string
$message  : Message
$options  : array<string|int, mixed>
$raw  : mixed
$text  : string
$thread  : Thread
$triggerId  : string|null
$user  : Author
$propagationStopped  : bool

Methods

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

Properties

Methods

__construct()

public __construct(Adapter $adapter, Channel $channel, Thread $thread, Message $message, Author $user, string $command, string $text[, mixed $raw = null ][, string|null $triggerId = null ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$adapter : Adapter
$channel : Channel
$thread : Thread
$message : Message
$user : Author
$command : string
$text : string
$raw : mixed = null
$triggerId : string|null = null
$options : array<string|int, mixed> = []

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