Message
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
$attachments
read-only
public
array<string|int, mixed>
$attachments
= []
$author
read-only
public
Author
$author
public
Document|null
$formatted
= null
$id
read-only
public
string
$id
$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
$text
read-only
public
string
$text
$threadId
read-only
public
string
$threadId
__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
-