File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments