slack icon indicating copy to clipboard operation
slack copied to clipboard

+ Fix Attachment model missing type definition for mrkdwnIn

Open indratjhai opened this issue 8 years ago • 3 comments

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.

indratjhai avatar Jul 04 '16 15:07 indratjhai

getting the same error

@cleentfaar, have you had chance to review this PR? Will be great to get new release with this fix

nik-petrov avatar Jul 31 '16 03:07 nik-petrov

just ran into this error as well. But in addition to this pr I had to add:

titleLink:
     type: string

jgedarovich avatar Feb 24 '17 14:02 jgedarovich

I've imported this package into my own package and incorporated your changes.

https://github.com/bluora/php-slack-api

RoccoHoward avatar Jun 21 '17 02:06 RoccoHoward