bootdesk/chat-sdk

MessagePostedEvent extends BroadcastEvent
in package

Table of Contents

Properties

$attachments  : array<string|int, mixed>
$author  : array<string|int, mixed>
$card  : Card|null
$data  : array<string|int, mixed>
$messageId  : string
$text  : 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 $text, array<string|int, mixed> $author[, Card|null $card = null ][, array<string|int, Attachment$attachments = [] ][, int|null $timestamp = null ]) : mixed
Parameters
$threadId : string
$messageId : string
$text : string
$author : array<string|int, mixed>
$card : Card|null = null
$attachments : array<string|int, Attachment> = []
$timestamp : int|null = null

toArray()

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

Search results