jolicode / slack-php-api

:hash: PHP Slack Client based on the official OpenAPI specification
https://jolicode.github.io/slack-php-api/
MIT License
221 stars 54 forks source link

Change "ts" from number to string as specification is wrong #98

Closed damienalexandre closed 3 years ago

damienalexandre commented 3 years ago

This is a fix for an error introduced here: https://github.com/jolicode/slack-php-api/pull/96#discussion_r510188600

The specification tells to send a number but a string is accepted and is the returned format in message responses.

A new file_upload_size_restricted enum string has been added by slack too.