Skip to content

Commit a208d30

Browse files
authored
Merge pull request #25 from murdahl/dev/murdahl/Add-interactive-blockaction-attributes
Dev/murdahl/add interactive blockaction attributes
2 parents 84042e5 + 99aba06 commit a208d30

File tree

1 file changed

+8
-1
lines changed
  • source/src/Slackbot.Net.Endpoints/Models/Interactive/BlockActions

1 file changed

+8
-1
lines changed

source/src/Slackbot.Net.Endpoints/Models/Interactive/BlockActions/BlockAction.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,12 @@ public class BlockActionInteraction : Interaction
1515

1616
public class State
1717
{
18-
public Dictionary<string, string> Values { get; set; } = [];
18+
public Dictionary<string, Dictionary<string, SlackInputValue>> Values { get; set; }
19+
}
20+
21+
public class SlackInputValue
22+
{
23+
public string Type { get; set; }
24+
public Option SelectedOption { get; set; }
25+
public string Value { get; set; }
1926
}

0 commit comments

Comments
 (0)