HubSpot / slack-client

An asynchronous HTTP client for Slack's web API
Apache License 2.0
115 stars 53 forks source link

Change `UserProfile::statusExpiration` type to `long` #264

Closed omotnyk closed 2 years ago

omotnyk commented 2 years ago

We've recently got user_change event with the user profile that has status_expiration equal 2841800400(year 2060). It isn't possible to set the expiration time like this in Slack app so I assume this was done via API. In order to avoid such issues in the future, I decided to change the type and hope that Slack won't allow setting something like BigInteger as status_expiration via API.