Skip to content

Commit b8c0cee

Browse files
author
Gaspard Petit
authored
Merge branch 'master' into ping_pong_message_and_event
2 parents a4608d3 + 408b1a2 commit b8c0cee

8 files changed

Lines changed: 69 additions & 6 deletions

File tree

json-logs/samples/api/mpim.history.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,27 @@
1313
"reply_users_count": 12345,
1414
"latest_reply": "0000000000.000000",
1515
"reply_users": [
16-
"B00000000"
16+
"B00000000",
17+
"U00000000"
1718
],
18-
"subscribed": false
19+
"subscribed": false,
20+
"user": "U00000000",
21+
"team": "T00000000",
22+
"bot_profile": {
23+
"id": "B00000000",
24+
"deleted": false,
25+
"name": "",
26+
"updated": 12345,
27+
"app_id": "A00000000",
28+
"icons": {
29+
"image_36": "https://www.example.com/",
30+
"image_48": "https://www.example.com/",
31+
"image_72": "https://www.example.com/"
32+
},
33+
"team_id": "T00000000"
34+
},
35+
"parent_user_id": "U00000000",
36+
"last_read": "0000000000.000000"
1937
}
2038
],
2139
"has_more": false,

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,23 @@
1818
"ts": "0000000000.000000",
1919
"username": "",
2020
"bot_id": "B00000000",
21-
"thread_ts": "0000000000.000000"
21+
"thread_ts": "0000000000.000000",
22+
"user": "U00000000",
23+
"team": "T00000000",
24+
"bot_profile": {
25+
"id": "B00000000",
26+
"deleted": false,
27+
"name": "",
28+
"updated": 12345,
29+
"app_id": "A00000000",
30+
"icons": {
31+
"image_36": "https://www.example.com/",
32+
"image_48": "https://www.example.com/",
33+
"image_72": "https://www.example.com/"
34+
},
35+
"team_id": "T00000000"
36+
},
37+
"parent_user_id": "U00000000"
2238
},
2339
"unread_count": 12345,
2440
"unread_count_display": 12345,

json-logs/samples/api/rtm.start.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,13 +673,21 @@
673673
"root": {
674674
"text": "",
675675
"user": "",
676+
"parent_user_id": "",
676677
"username": "",
677678
"team": "",
678679
"bot_id": "",
679680
"mrkdwn": false,
680681
"type": "",
681682
"subtype": "",
682683
"thread_ts": "",
684+
"icons": {
685+
"emoji": "",
686+
"image_36": "",
687+
"image_48": "",
688+
"image_64": "",
689+
"image_72": ""
690+
},
683691
"bot_profile": {
684692
"id": "",
685693
"deleted": false,
@@ -812,13 +820,21 @@
812820
"root": {
813821
"text": "",
814822
"user": "",
823+
"parent_user_id": "",
815824
"username": "",
816825
"team": "",
817826
"bot_id": "",
818827
"mrkdwn": false,
819828
"type": "",
820829
"subtype": "",
821830
"thread_ts": "",
831+
"icons": {
832+
"emoji": "",
833+
"image_36": "",
834+
"image_48": "",
835+
"image_64": "",
836+
"image_72": ""
837+
},
822838
"bot_profile": {
823839
"id": "",
824840
"deleted": false,

json-logs/samples/api/users.conversations.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,21 @@
3333
"root": {
3434
"text": "",
3535
"user": "",
36+
"parent_user_id": "",
3637
"username": "",
3738
"team": "",
3839
"bot_id": "",
3940
"mrkdwn": false,
4041
"type": "",
4142
"subtype": "",
4243
"thread_ts": "",
44+
"icons": {
45+
"emoji": "",
46+
"image_36": "",
47+
"image_48": "",
48+
"image_64": "",
49+
"image_72": ""
50+
},
4351
"bot_profile": {
4452
"id": "",
4553
"deleted": false,

json-logs/samples/events/MemberJoinedChannelPayload.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"channel": "",
1010
"channel_type": "",
1111
"team": "",
12-
"event_ts": "0000000000.000000"
12+
"event_ts": "0000000000.000000",
13+
"inviter": ""
1314
},
1415
"type": "event_callback",
1516
"event_id": "",

scripts/run_no_prep_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
'-Dtest=test_locally.**.*Test' test \
66
-DfailIfNoTests=false \
77
--no-transfer-progress && \
8-
if git status --porcelain | grep .; then git diff --no-pager; exit 1; fi
8+
if git status --porcelain | grep .; then git --no-pager diff; exit 1; fi

slack-api-client/src/test/java/test_locally/api/methods/FieldValidation_a_to_c_Test.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,9 @@ public void conversations_commands() throws Exception {
453453
"getLastRead",
454454
"getDateConnected",
455455
"getThreadTs",
456-
"getUsername"
456+
"getUsername",
457+
"getParentUserId",
458+
"getBotProfile"
457459
);
458460
}
459461
{

slack-api-model/src/main/java/com/slack/api/model/Latest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public class Latest {
1515
private String team;
1616
private String user;
1717
private String username;
18+
private String parentUserId;
1819
private String text;
1920
private String topic; // groups
2021
private List<Attachment> attachments;
@@ -26,6 +27,7 @@ public class Latest {
2627
private boolean displayAsBot;
2728
private String botId;
2829
private String botLink;
30+
private BotProfile botProfile;
2931
private String threadTs;
3032
private String ts;
3133
private Message.Icons icons;

0 commit comments

Comments
 (0)