slack
slack copied to clipboard
+ Fix Attachment model missing type definition for mrkdwnIn
Missing mrkdwnIn type definition got me JMS\Serializer\Exception\RuntimeException with message: "You must define a type for CL\Slack\Model\Attachment::$mrkdwnIn" when calling channel.invite API (the API returns latest posts containing attachments.) I suppose this will also occurs on other API returning attachments.
getting the same error
@cleentfaar, have you had chance to review this PR? Will be great to get new release with this fix
just ran into this error as well. But in addition to this pr I had to add:
titleLink:
type: string
I've imported this package into my own package and incorporated your changes.
https://github.com/bluora/php-slack-api