bootdesk/chat-sdk

Message
in package

Table of Contents

Properties

$attachments  : array<string|int, mixed>
$author  : Author
$formatted  : Document|null
$id  : string
$isDM  : bool
$isMention  : bool
$originId  : string|null
$raw  : string|null
$text  : string
$threadId  : string

Methods

__construct()  : mixed

Properties

$attachments read-only

public array<string|int, mixed> $attachments = []

$formatted read-only

public Document|null $formatted = null

$isDM read-only

public bool $isDM = false

$isMention read-only

public bool $isMention = false

$originId read-only

public string|null $originId = null

$raw read-only

public string|null $raw = null

$threadId read-only

public string $threadId

Methods

__construct()

public __construct(string $id, string $threadId, Author $author, string $text[, Document|null $formatted = null ][, array<string|int, Attachment$attachments = [] ][, bool $isMention = false ][, bool $isDM = false ][, string|null $raw = null ][, string|null $originId = null ]) : mixed
Parameters
$id : string
$threadId : string
$author : Author
$text : string
$formatted : Document|null = null
$attachments : array<string|int, Attachment> = []
$isMention : bool = false
$isDM : bool = false
$raw : string|null = null
$originId : string|null = null
On this page

Search results