Skip to content

Commit 8ea0ffc

Browse files
committed
update view_submission properties
1 parent e01e566 commit 8ea0ffc

File tree

5 files changed

+53
-5
lines changed

5 files changed

+53
-5
lines changed

json-logs/samples/api/views.open.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3959,7 +3959,16 @@
39593959
"previous_view_id": "",
39603960
"app_id": "",
39613961
"app_installed_team_id": "",
3962-
"bot_id": ""
3962+
"bot_id": "",
3963+
"entity_url": "",
3964+
"external_ref": {
3965+
"id": "",
3966+
"type": ""
3967+
},
3968+
"app_unfurl_url": "",
3969+
"message_ts": "",
3970+
"thread_ts": "",
3971+
"channel": ""
39633972
},
39643973
"response_metadata": {
39653974
"messages": [

json-logs/samples/api/views.publish.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3959,7 +3959,16 @@
39593959
"previous_view_id": "",
39603960
"app_id": "",
39613961
"app_installed_team_id": "",
3962-
"bot_id": ""
3962+
"bot_id": "",
3963+
"entity_url": "",
3964+
"external_ref": {
3965+
"id": "",
3966+
"type": ""
3967+
},
3968+
"app_unfurl_url": "",
3969+
"message_ts": "",
3970+
"thread_ts": "",
3971+
"channel": ""
39633972
},
39643973
"response_metadata": {
39653974
"messages": [

json-logs/samples/api/views.push.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3959,7 +3959,16 @@
39593959
"previous_view_id": "",
39603960
"app_id": "",
39613961
"app_installed_team_id": "",
3962-
"bot_id": ""
3962+
"bot_id": "",
3963+
"entity_url": "",
3964+
"external_ref": {
3965+
"id": "",
3966+
"type": ""
3967+
},
3968+
"app_unfurl_url": "",
3969+
"message_ts": "",
3970+
"thread_ts": "",
3971+
"channel": ""
39633972
},
39643973
"response_metadata": {
39653974
"messages": [

json-logs/samples/api/views.update.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3959,7 +3959,16 @@
39593959
"previous_view_id": "",
39603960
"app_id": "",
39613961
"app_installed_team_id": "",
3962-
"bot_id": ""
3962+
"bot_id": "",
3963+
"entity_url": "",
3964+
"external_ref": {
3965+
"id": "",
3966+
"type": ""
3967+
},
3968+
"app_unfurl_url": "",
3969+
"message_ts": "",
3970+
"thread_ts": "",
3971+
"channel": ""
39633972
},
39643973
"response_metadata": {
39653974
"messages": [

slack-api-model/src/main/java/com/slack/api/model/view/View.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,23 @@ public class View {
3232
private ViewState state;
3333
private String hash;
3434
private Boolean clearOnClose; // must be nullable for App Home
35-
private Boolean notifyOnClose; // must be nullable for App Home
35+
private Boolean notifyOnClose; // must be nullable for App Home
3636
private Boolean submitDisabled; // workflow_step
3737
private String rootViewId;
3838
private String previousViewId; // views.update
3939
private String appId;
4040
private String appInstalledTeamId; // workflow_step
4141
private String botId;
42+
private String entityUrl;
43+
private ExternalRef externalRef;
44+
private String appUnfurlUrl;
45+
private String messageTs;
46+
private String threadTs;
47+
private String channel;
48+
49+
@Data
50+
public static class ExternalRef {
51+
private String id;
52+
private String type;
53+
}
4254
}

0 commit comments

Comments
 (0)