class SlackAttachmentField (View source)
| 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. |
| $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. |
Set the title of the field.
Set the content of the field.
Indicates that the content should not be displayed side-by-side with other fields.
Get the array representation of the attachment field.
© 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