tuyakhov/yii2-notifications

View on GitHub
src/messages/SlackMessage.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * @copyright Anton Tuyakhov <atuyakhov@gmail.com>
 */

namespace tuyakhov\notifications\messages;


class SlackMessage extends AbstractMessage
{
    /**
     * @var array optional arguments
     * @see https://api.slack.com/methods/chat.postMessage
     * Example:
     * [
     *     'attachments' => [
     *          ['pretext' => 'pre-hello', 'text" => 'text-world']
     *     ]
     * ]
     */
    public $arguments = [];
}