jolicode / slack-php-api

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

Endpoints accepting floats instead of strings #41

Closed jannesblm closed 4 years ago

jannesblm commented 5 years ago

Some endpoints that expect a timestamp to identify a message will not work with floats as the trailing zeroes are stripped when casting.

Passing strings with all microsecond digits will be accepted by the Slack API and restores functionality of those endpoints.

lsnider commented 4 years ago

Pretty sure this can be closed as it looks to all be in https://github.com/jolicode/slack-php-api/pull/45