Skip to content

Commit 77b567d

Browse files
committed
Added changelog for new 1.0.24 release
1 parent 137027c commit 77b567d

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 1.0.24
4+
5+
* Added support for attachment link buttons (_type of attachment action_) which opens a provided URL if clicked,
6+
allowing you to add up to 5 buttons to each attachment.
7+
See [Attaching buttons to messages](https://api.slack.com/docs/message-attachments#attaching_buttons_to_messages)
8+
for more.
9+
10+
Example:
11+
```cs
12+
await new client.SendAsync(b => b
13+
.WithText("Look at my buttons")
14+
.WithAttachment(a => a
15+
.WithTitle("Now with actions")
16+
.WithText("...which are pretty neat")
17+
.WithLinkButtonAction("Click me", "http://google.com", ActionStyle.Primary)
18+
.WithLinkButtonAction("Don't click me", "http://bing.com", ActionStyle.Danger)));
19+
```
20+
321
## 1.0.23
422

5-
First documented release with initial features provided by the Slack Webhook API
23+
* First documented release with initial features provided by the Slack Webhook API

0 commit comments

Comments
 (0)