slack-rs-api
slack-rs-api copied to clipboard
Rust interface for the Slack Web API
Possibly related to issues such as https://github.com/slack-rs/slack-rs/issues/120 or https://github.com/slack-rs/slack-rs-api/issues/102 -- the "class slack app" bot tokens don't seem to allow the `token` parameter to be passed as a URL parameter...
Slack has deprecated the channels.info endpoint (https://api.slack.com/methods/channels.info), and it no longer works at all with apps created after 10 June 2020. You're now supposed to use the conversations.info endpoint (https://api.slack.com/methods/conversations.info),...
Trying to call `usergroups::list` returns a `MalformedResponse` error. In my case this is because the value for the `user_count` field is an int, not a string. I assume the schema...
That example would be a really great jumping off point, but I'm not sure which permissions I need to give it. Right now I'm giving it: `channels:history, channels:read, chat:write:user, im:history,...
It currently looks to be impossible to paginate responses. The `limit` parameter is set in some of the `ListRequest` objects, but not all: - [users::ListRequest](https://docs.rs/slack_api/0.21.0/slack_api/users/struct.ListRequest.html) - [channels::ListRequest](https://docs.rs/slack_api/0.21.0/slack_api/channels/struct.ListRequest.html) whereas they are...
If I get the code for a slack channel by copying a link to it and grabbing only the last part of the link, and then passing that code to...
The [reaction_added] and [reaction_removed] events don't have `message` as a field, which was causing the deserialization to fail, preventing upstream libraries from handling reactions. fixes slack-rs/slack-rs#111 [reaction_added]: https://api.slack.com/events/reaction_added [reaction_removed]: https://api.slack.com/events/reaction_removed
Is there a reason none of the types derive `Serialize`? It would be nice to build messages with these structs, but then I can't turn them into JSON using `serde`.
They've made it so you can added buttons to messages that come from Apps https://api.slack.com/docs/message-buttons Mostly means some changes to attachments
I received an email yesterday asking about debugging `thread 'main' panicked at 'Error: Slack Api Error: "rtm::StartError: JSON error"', src/main.rs:67`, for the example in `slack_rs`. I'm not aware of a...