Class Attachment
A message attachment containing rich text data.
- Slack\DataObject implements JsonSerializable
- Slack\Message\Attachment
Namespace: Slack\Message
See: https://api.slack.com/docs/attachments
Located at Message/Attachment.php
See: https://api.slack.com/docs/attachments
Located at Message/Attachment.php
Methods summary
public
|
#
__construct( string $title, string $text, string $fallback = null, $color = null, $pretext = null, array $fields = [] )
Creates a new message attachment. |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
DateTime
|
|
public
boolean
|
|
public
|
|
public
|
#
jsonUnserialize( array $data )
Re-initializes the object when unserialized or created from a data array. |