Skip to content

Commit f647f80

Browse files
committed
Correcf dict usage
1 parent 19e0ecc commit f647f80

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)