1.2.0
- Add a default webhook URL as a second argument of the
Mattermost
's constructor - The webhook URL as a second argument of the
Mattermost@send
method is now optional - Throw a
MattermostException
if neither the default webhook nor theMattermost@send
webhook are provided - Refactor
Message
to array transformation fromMattermost
toMessage
andAttachment
class