Commit graph

896 commits

Author SHA1 Message Date
renovate[bot]
31de9e235f
chore(deps): update actions/checkout action to v6 (#337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-05 13:14:46 +01:00
Abdulla Abdurakhmanov
5ee6ab6143
chore: Release slack-morphism version 2.17.0 2025-11-06 20:51:03 +01:00
Abdulla Abdurakhmanov
447471f2d1
fix: Compile error in an example (#336) 2025-10-17 13:59:47 +02:00
West Xu
e4c2f98510
Change tab field to optional in SlackAppHomeOpenedEvent (#335) 2025-10-17 13:50:19 +02:00
renovate[bot]
2df7b714b0
fix(deps): update rust crate tokio-tungstenite to 0.28.0 (#333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-07 18:07:45 +02:00
Abdulla Abdurakhmanov
2e5b09dbe7
chore: Release slack-morphism version 2.16.0 2025-09-14 18:22:55 +02:00
Augusto César
661b01370a
fix(pins): items attribute should be public (#332)
### Description
#331 introduced the Pins API, but the attribute `items` was wrongly added as private by me.
This PR fixes that and makes so that we can access the items under `SlackApiPinsListResponse`.
2025-08-28 10:14:17 +02:00
Augusto César
611c3ec7b7
feat: add support for Pins API (#331)
### Description
This adds functions to add, list and remove pins using the Pins API.

### Regarding `SlackPin` optional message
In the docs for the pin it mentions
> In the past, files and file comments could be pinned to a channel as well.

So I guess this shouldn't happen anymore.

But the following is also documented:

> Different item types can be pinned. Every item in the list has a type property, and the other properties depend on the type of item. The possible types are:
>   message: the item will have a message property containing a message object and a channel property containing the channel ID for the message.
>   file: this item will have a file property containing a file object.
>   file_comment: the item will have a file property containing the file object and a comment property containing the file comment.

When testing for implementing this type, I could not create anything other than `message`.
Files now are just attribute inside a message.

Having the `message` as `Option<SlackMessage>` just protects in case this is used to deserialize
one of these old records. But we could also just have it as `SlackMessage` as should be the case for most now.

### References
- https://api.slack.com/methods/pins.add
- https://api.slack.com/methods/pins.list
- https://api.slack.com/methods/pins.remove
2025-08-27 17:40:32 +02:00
Abdulla Abdurakhmanov
fb99553e65
chore: Release slack-morphism version 2.15.0 2025-08-24 18:21:39 +02:00
Robin
236ab3070a
Add optional OAuth 2.0 user_scope to redirect url (#330)
* Add OAuth 2.0 `user_scope` to redirect url

* Make OAuth field `user_scope` optional
2025-08-18 15:57:57 +02:00
renovate[bot]
14546c5e0f
chore(deps): update actions/checkout action to v5 (#329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 19:06:25 +02:00
john-cremit
727db9544b
feat: add share_shortcut variant to SlackBlock enum (#328) 2025-07-21 14:04:31 +02:00
Abdulla Abdurakhmanov
d27df19805
chore: Update getting-started.md 2025-07-07 20:28:32 +02:00
Jacob Wiltse
a07212652c
feat: add usergroups.update method (#326) 2025-06-20 23:35:38 +02:00
Abdulla Abdurakhmanov
183a98d6b9
fix: default deserializer enabled for user profile fields 2025-06-20 19:22:39 +02:00
Abdulla Abdurakhmanov
309c5168cb
feat: Updated fields for SlackUserProfile (#325) 2025-06-20 19:15:41 +02:00
Abdulla Abdurakhmanov
6c8d495cdf
feat: Support Slack FileIds/Urls in image block and elements (#323) 2025-06-20 18:39:17 +02:00
renovate[bot]
817e25e1d5
fix(deps): update rust crate tokio-tungstenite to 0.27.0 (#322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 10:36:15 +02:00
Abdulla Abdurakhmanov
016ad9bdb8
chore: Release slack-morphism version 2.12.0 2025-06-03 22:20:21 +02:00
Abdulla Abdurakhmanov
db9803b428
chore: Fix clippy warnings 2025-06-03 22:20:00 +02:00
Vicent Segui
57d0828f37
Unfurl API for channel/ts + slack blocks. (#319)
The new API allows use to use channel/ts as identifiers while also using slack
blocks.
2025-06-03 19:17:50 +02:00
Toru Ogawa
e4a6c07f98
add previous_message (#317) 2025-05-05 19:45:54 +02:00
Abdulla Abdurakhmanov
e6ba97fbe7
chore: Release slack-morphism version 2.11.0 2025-04-21 13:16:11 +02:00
Tim
a3e15c9a15
Assistant Support (#316)
* Assistant Support.

* fmt
2025-04-20 22:56:04 +02:00
Abdulla Abdurakhmanov
44ecce1101
Update README.md 2025-04-20 16:12:23 +02:00
Abdulla Abdurakhmanov
a676335350
Update README.md 2025-04-20 13:21:42 +02:00
Abdulla Abdurakhmanov
9e0ba5eeed
Update README.md 2025-04-20 13:21:23 +02:00
renovate[bot]
56e4b4cbd9
chore(deps): update dependency windows to v2025 (#315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 16:03:51 +02:00
Abdulla Abdurakhmanov
f73fb14236
chore: Release slack-morphism version 2.10.1 2025-03-19 13:45:52 +01:00
David Rousselie
9d542e98fd
fix: Fix emoji_list response deserialization (#314) 2025-03-19 13:44:32 +01:00
Abdulla Abdurakhmanov
a33155f0f4
chore(docs): Ver up 2025-02-23 13:50:57 +01:00
Abdulla Abdurakhmanov
68bc411377
chore: Release slack-morphism version 2.10.0 2025-02-23 13:47:45 +01:00
Takashi Takeda
8c44d8f9fd
feat: Implement SlackTextFormat for SlackUserGroupId (#313) 2025-02-23 11:53:08 +01:00
David Craven
babc68bfed
feat: files.delete support. (#312)
* Files delete.

* Fix review comments.
2025-02-09 10:37:26 +01:00
Abdulla Abdurakhmanov
528fbcca44
feat: Markdown block support (#311) 2025-02-06 18:52:15 +01:00
David Rousselie
7d0f41fce6
fix: Add video Slack block (#310) 2025-02-05 10:34:19 +01:00
Abdulla Abdurakhmanov
3d1689f55e
chore: Release slack-morphism version 2.9.0 2025-02-02 14:52:00 +01:00
Abdulla Abdurakhmanov
6850cd117b
chore: Missing unit test for SlackEventSignatureVerifier 2025-02-02 14:51:40 +01:00
renovate[bot]
75e9538e4c
fix(deps): update rust crate rand to 0.9 (#308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-02 14:33:04 +01:00
Abdulla Abdurakhmanov
e149ae90d7
fix: Improve error handling (#309) 2025-02-02 14:26:49 +01:00
Lequn Chen
9d67410192
Drop dependency on ring (#306) 2025-02-02 12:21:33 +01:00
David Rousselie
8c8b07e19c
feat: Add emoji.list Slack API call (#307)
* feat: Add `emoji.list` Slack API call

* Parse `emoji.list` as a Map of SlackEmojiName & SlackEmojiRef
2025-01-20 18:22:31 +01:00
Abdulla Abdurakhmanov
d29f1ef13d
chore: CI audit pipeline fix 2025-01-01 14:55:49 +01:00
Abdulla Abdurakhmanov
c04a128d3c
chore: Release slack-morphism version 2.8.0 2025-01-01 14:52:08 +01:00
Abdulla Abdurakhmanov
e6bdd982b1
fix: Fix breaking changes from Tungstenite (#305) 2025-01-01 14:51:15 +01:00
Abdulla Abdurakhmanov
bf7711a212
Audit pipeline fix 2025-01-01 14:37:36 +01:00
renovate[bot]
e3809bd5ba
fix(deps): update rust crate tokio-tungstenite to 0.26.0 (#303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 14:34:53 +01:00
renovate[bot]
301898b017
fix(deps): update rust crate axum to 0.8 (#304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 14:30:47 +01:00
Abdulla Abdurakhmanov
cb792826ba
Ver up in README 2024-12-09 19:03:50 +01:00
Abdulla Abdurakhmanov
cf87edbcea
chore: Release slack-morphism version 2.7.0 2024-12-09 19:02:05 +01:00