@@ -953,6 +953,14 @@ failed to update views: "Both external_id and view_id not found"
953953 "trigger_id": "12321423423.333649436676.d8c1bb837935619ccad0f624c448ffb3",
954954 "token": "9s8d9as89d8as9d8as989",
955955 "team": { "id": "T9TK3CUKW", "domain": "example" },
956+ "container": {
957+ "type": "message_attachment",
958+ "message_ts": "1548261231.000200",
959+ "attachment_id": 1,
960+ "channel_id": "CBR2V3XEX",
961+ "is_ephemeral": false,
962+ "is_app_unfurl": false
963+ },
956964 "response_url": "https://hooks.slack.com/actions/AABA1ABCD/1232321423432/D09sSasdasdAS9091209",
957965 "message": {
958966 "user": "UAJ2RU415",
@@ -981,6 +989,7 @@ failed to update views: "Both external_id and view_id not found"
981989 "trigger_id": "24571818370.22717085937.b9c7ca14b87be6b44ff5864edba8306f",
982990 "token": "9s8d9as89d8as9d8as989",
983991 "team": { "id": "T9TK3CUKW", "domain": "example" },
992+ "container": { "type": "view", "view_id": "V0PKB1ZFV" },
984993 "user": {
985994 "id": "UA8RXUSPL",
986995 "name": "jtorrance",
@@ -1059,138 +1068,6 @@ failed to update views: "Both external_id and view_id not found"
10591068 "bot_id": "B0B00B00"
10601069 }
10611070}
1062- ===== file mock-slack-interactions/block_action3.json =====
1063- {
1064- "type": "block_actions",
1065- "trigger_id": "8825442710374.7742401506567.d50a6567e3e761b35c23b33e8975c20f",
1066- "token": "mZOEdN6ZG3zk2CFJtuNRWCYj",
1067- "team": { "id": "T07MUBTEWGP", "domain": "testworkspace-jrm5644" },
1068- "user": {
1069- "id": "U07NBD2PZ36",
1070- "name": "koonwen.lee",
1071- "username": "koonwen.lee",
1072- "team_id": "T07MUBTEWGP"
1073- },
1074- "actions": [
1075- {
1076- "action_id": "plain_text_input-action",
1077- "block_id": "todo_desc",
1078- "type": "plain_text_input",
1079- "action_ts": "1746093859.242959",
1080- "value": "koonwen.lee: <https://3.basecamp.com/3963735/buckets/35747700/todos/8479712634>\n\nhttps://testworkspace-jrm5644.slack.com/archives/C080AE0USE7/p1746061724649999"
1081- }
1082- ],
1083- "view": {
1084- "type": "modal",
1085- "title": { "type": "plain_text", "text": "Create task", "emoji": true },
1086- "blocks": [
1087- {
1088- "type": "section",
1089- "text": {
1090- "type": "mrkdwn",
1091- "text": "Check out these <https://git.ahrefs.com/ahrefs/monorepo/blob/develop/backend/slack_of_basecamp/README.md#I-can't-find-the-todolist-I-want-to-create-the-Basecamp-task-in-the-dropdown|instructions> on how to add your preferred Basecamp todolist if you don't see yours here",
1092- "verbatim": false
1093- },
1094- "block_id": "TTDcT"
1095- },
1096- {
1097- "type": "input",
1098- "label": { "type": "plain_text", "text": "Todo-list", "emoji": true },
1099- "element": {
1100- "type": "static_select",
1101- "action_id": "static_select_menu-action",
1102- "options": [
1103- {
1104- "text": {
1105- "type": "plain_text",
1106- "text": "Midend > slack_of_basecamp > Inbox",
1107- "emoji": true
1108- },
1109- "value": "35747700.7263090634"
1110- },
1111- {
1112- "text": {
1113- "type": "plain_text",
1114- "text": "Midend > slack_of_basecamp > Backlog",
1115- "emoji": true
1116- },
1117- "value": "35747700.7047967089"
1118- }
1119- ],
1120- "initial_option": {
1121- "text": {
1122- "type": "plain_text",
1123- "text": "Midend > slack_of_basecamp > Inbox",
1124- "emoji": true
1125- },
1126- "value": "35747700.7263090634"
1127- }
1128- },
1129- "dispatch_action": false,
1130- "block_id": "todolist",
1131- "optional": false
1132- },
1133- {
1134- "type": "input",
1135- "label": { "type": "plain_text", "text": "Assign", "emoji": true },
1136- "element": {
1137- "type": "multi_users_select",
1138- "action_id": "multi_users_select-action",
1139- "initial_users": [ "U07NBD2PZ36" ]
1140- },
1141- "dispatch_action": false,
1142- "block_id": "assign_users",
1143- "optional": false
1144- },
1145- {
1146- "type": "input",
1147- "label": { "type": "plain_text", "text": "Name", "emoji": true },
1148- "element": {
1149- "type": "plain_text_input",
1150- "action_id": "plain_text_input-action",
1151- "dispatch_action_config": {
1152- "trigger_actions_on": [ "on_enter_pressed" ]
1153- }
1154- },
1155- "dispatch_action": false,
1156- "block_id": "todo_name",
1157- "optional": false
1158- },
1159- {
1160- "type": "input",
1161- "label": {
1162- "type": "plain_text",
1163- "text": "Description",
1164- "emoji": true
1165- },
1166- "element": {
1167- "type": "plain_text_input",
1168- "action_id": "plain_text_input-action",
1169- "initial_value": "koonwen.lee: <https://3.basecamp.com/3963735/buckets/35747700/todos/8479712634>\n\nhttps://testworkspace-jrm5644.slack.com/archives/C080AE0USE7/p1746061724649999",
1170- "multiline": true,
1171- "dispatch_action_config": {
1172- "trigger_actions_on": [ "on_enter_pressed" ]
1173- }
1174- },
1175- "dispatch_action": true,
1176- "block_id": "todo_desc",
1177- "hint": {
1178- "type": "plain_text",
1179- "text": "Generate LLM Summary",
1180- "emoji": true
1181- },
1182- "optional": false
1183- }
1184- ],
1185- "close": { "type": "plain_text", "text": "Close", "emoji": true },
1186- "submit": { "type": "plain_text", "text": "Submit", "emoji": true },
1187- "private_metadata": "C080AE0USE7.1746061724.649999",
1188- "callback_id": "",
1189- "clear_on_close": false,
1190- "notify_on_close": false,
1191- "external_id": ""
1192- }
1193- }
11941071===== file mock-slack-interactions/global_shortcut.json =====
11951072{
11961073 "type": "shortcut",
0 commit comments