added a couple of tests also, there's a test if SLACK_API_TOKEN is set it will try list the channels and then try get the history for the first 10. This was failing before the changes because the timestamps in the message details were often the wrong type
Looking for some feedback.
have added a timestamp.json object to the schema and referenced it places that are timestamps https://github.com/dten/slack-api-schemas/tree/timestamp
and in api updated the generator to cope with it, but in fact ignored that type and provided a custom
Timestamp
type that converts everything to f64 https://github.com/dten/slack-rs-api/tree/timestampadded a couple of tests also, there's a test if
SLACK_API_TOKEN
is set it will try list the channels and then try get the history for the first 10. This was failing before the changes because the timestamps in the message details were often the wrong typeit's pretty similar to #56 but more complete