SlackAttachmentField

class SlackAttachmentField (View source)

Properties

protected string $title The title field of the attachment field.
protected string $content The content of the attachment field.
protected bool $short Whether the content is short.

Methods

$this title(string $title)

Set the title of the field.

$this content(string $content)

Set the content of the field.

$this long()

Indicates that the content should not be displayed side-by-side with other fields.

array toArray()

Get the array representation of the attachment field.

Details

$this title(string $title)

Set the title of the field.

Parameters

string $title

Return Value

$this

$this content(string $content)

Set the content of the field.

Parameters

string $content

Return Value

$this

$this long()

Indicates that the content should not be displayed side-by-side with other fields.

Return Value

$this

array toArray()

Get the array representation of the attachment field.

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Notifications/Messages/SlackAttachmentField.html