aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/data/websocket
diff options
context:
space:
mode:
authorNana Amfo <nanaus13@yahoo.com>2019-04-08 06:03:35 -0500
committerTrygve Aaberge <trygveaa@gmail.com>2019-04-08 13:03:35 +0200
commit7d919f3897deb322f13428127b1ba91731917f4c (patch)
tree942f9995cb32d70f4891135ff01082e51d1403e2 /_pytest/data/websocket
parentc605e587a6ee17029b8f072351de8b81a473dce5 (diff)
downloadwee-slack-7d919f3897deb322f13428127b1ba91731917f4c.tar.gz
Add @user-groups support (#680)
Add @user-groups with tab-completion. @user-groups will be unfurl into format <!subteam^{ID}|handle> message before sending message via linktext method.
Diffstat (limited to '_pytest/data/websocket')
-rw-r--r--_pytest/data/websocket/1483975206.59-subteam_created.json24
-rw-r--r--_pytest/data/websocket/1483975206.59-subteam_updated.json34
2 files changed, 58 insertions, 0 deletions
diff --git a/_pytest/data/websocket/1483975206.59-subteam_created.json b/_pytest/data/websocket/1483975206.59-subteam_created.json
new file mode 100644
index 0000000..af42a0f
--- /dev/null
+++ b/_pytest/data/websocket/1483975206.59-subteam_created.json
@@ -0,0 +1,24 @@
+{
+ "subteam": {
+ "auto_type": null,
+ "created_by": "U060RNRCZ",
+ "date_create": 1446746793,
+ "date_delete": 0,
+ "date_update": 1446746793,
+ "deleted_by": null,
+ "description": "Marketing gurus, PR experts and product advocates.",
+ "handle": "marketing-team",
+ "id": "S0615G0KT",
+ "is_external": false,
+ "is_usergroup": true,
+ "name": "Marketing Team",
+ "prefs": {
+ "channels": [],
+ "groups": []
+ },
+ "team_id": "T060RNRCH",
+ "updated_by": "U060RNRCZ",
+ "user_count": "0"
+ },
+ "type": "subteam_created"
+}
diff --git a/_pytest/data/websocket/1483975206.59-subteam_updated.json b/_pytest/data/websocket/1483975206.59-subteam_updated.json
new file mode 100644
index 0000000..4b5c03e
--- /dev/null
+++ b/_pytest/data/websocket/1483975206.59-subteam_updated.json
@@ -0,0 +1,34 @@
+{
+ "type": "subteam_updated",
+ "subteam": {
+ "id": "TGX0ALBK3",
+ "team_id": "T6SH3PWP9",
+ "is_usergroup": true,
+ "name": "Sample Usergroup Modified",
+ "description": "Sample subteam modified",
+ "handle": "test_modified",
+ "is_external": false,
+ "date_create": 1446598059,
+ "date_update": 1446670362,
+ "date_delete": 0,
+ "auto_type": "admin",
+ "created_by": "X786CTH5L",
+ "updated_by": "U060RNRCZ",
+ "deleted_by": null,
+ "prefs": {
+ "channels": [
+
+ ],
+ "groups": [
+
+ ]
+ },
+ "users": [
+ "U060RNRCZ",
+ "U060ULRC0",
+ "U06129G2V",
+ "U061309JM"
+ ],
+ "user_count": "4"
+ }
+}