Skip to content

Commit 3d83b6c

Browse files
committed
Update example data
1 parent ac68b9c commit 3d83b6c

File tree

6 files changed

+309
-338
lines changed

6 files changed

+309
-338
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"group_channels": [
3+
{
4+
"name": "TalkJS migration chat",
5+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
6+
"cover_url": "https://static.sendbird.com/sample/cover/cover_14.jpg",
7+
"created_at": 1736855603,
8+
"max_length_message": 5000,
9+
"custom_type": "",
10+
"is_distinct": false,
11+
"data": "",
12+
"member_count": 3,
13+
"joined_member_count": 3,
14+
"is_access_code_required": false,
15+
"is_super": false,
16+
"is_broadcast": false,
17+
"is_public": false,
18+
"is_discoverable": false,
19+
"freeze": false,
20+
"is_ephemeral": false,
21+
"unread_message_count": 0,
22+
"unread_mention_count": 0,
23+
"message_survival_seconds": -1,
24+
"sms_fallback_wait_seconds": -1,
25+
"sms_fallback_exclude_user_ids": [],
26+
"members": [
27+
{
28+
"name": "Sebastian",
29+
"user_id": "sebastian-sendbird",
30+
"is_active": true,
31+
"image": "https://talkjs.com/new-web/avatar-2.jpg",
32+
"is_bot": false
33+
},
34+
{
35+
"name": "Alice",
36+
"user_id": "alice-sendbird",
37+
"is_active": true,
38+
"image": "https://talkjs.com/new-web/avatar-6.jpg",
39+
"is_bot": false
40+
},
41+
{
42+
"name": "Nina",
43+
"user_id": "nina-sendbird",
44+
"is_active": true,
45+
"image": "https://talkjs.com/new-web/avatar-7.jpg",
46+
"is_bot": false
47+
}
48+
],
49+
"read_receipt": {},
50+
"last_message": {
51+
"type": "MESG",
52+
"message_id": 10463405355,
53+
"message": "Let's try importing this chat into TalkJS!",
54+
"data": "",
55+
"custom_type": "",
56+
"file": {},
57+
"created_at": 1736856656811,
58+
"user": {
59+
"user_id": "nina-sendbird",
60+
"profile_url": "https://talkjs.com/new-web/avatar-7.jpg",
61+
"nickname": "Nina",
62+
"metadata": {}
63+
},
64+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
65+
"updated_at": 0,
66+
"message_survival_seconds": -1,
67+
"mentioned_users": [],
68+
"mention_type": "users",
69+
"silent": false,
70+
"translations": {},
71+
"is_removed": false,
72+
"req_id": "rq-13df2f9e-f1d6-4c75-ae66-32ea1eb1a2d2"
73+
}
74+
}
75+
]
76+
}
Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
{
2+
"messages": [
3+
{
4+
"type": "MESG",
5+
"message_id": 10463242990,
6+
"message": "Hi, welcome to the migration channel!",
7+
"custom_type": "",
8+
"created_at": 1736855618748,
9+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
10+
"updated_at": 0,
11+
"mentioned_users": [],
12+
"mention_type": "users",
13+
"is_removed": false,
14+
"req_id": "rq-01007c01-7e16-47bf-9350-f0f93c18004e",
15+
"data": "",
16+
"file": {},
17+
"user": {
18+
"user_id": "alice-sendbird",
19+
"profile_url": "https://talkjs.com/new-web/avatar-6.jpg",
20+
"nickname": "Alice",
21+
"metadata": {}
22+
},
23+
"message_survival_seconds": -1,
24+
"silent": false,
25+
"translations": {}
26+
},
27+
{
28+
"type": "MESG",
29+
"message_id": 10463258210,
30+
"message": "Hi \ud83d\udc4b",
31+
"custom_type": "",
32+
"created_at": 1736855722175,
33+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
34+
"updated_at": 0,
35+
"mentioned_users": [],
36+
"mention_type": "users",
37+
"is_removed": false,
38+
"req_id": "rq-1790448c-47ff-4b05-be99-34cf7fc356ae",
39+
"data": "",
40+
"file": {},
41+
"user": {
42+
"user_id": "sebastian-sendbird",
43+
"profile_url": "https://talkjs.com/new-web/avatar-2.jpg",
44+
"nickname": "Sebastian",
45+
"metadata": {}
46+
},
47+
"message_survival_seconds": -1,
48+
"silent": false,
49+
"translations": {}
50+
},
51+
{
52+
"type": "MESG",
53+
"message_id": 10463264206,
54+
"message": "Hi, looking forward to the migration!",
55+
"custom_type": "",
56+
"created_at": 1736855760789,
57+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
58+
"updated_at": 0,
59+
"mentioned_users": [],
60+
"mention_type": "users",
61+
"is_removed": true,
62+
"req_id": "rq-6c7676b1-02cd-4979-ab64-5ea91d680474",
63+
"data": "",
64+
"file": {},
65+
"user": {
66+
"user_id": "nina-sendbird",
67+
"profile_url": "https://talkjs.com/new-web/avatar-7.jpg",
68+
"nickname": "Nina",
69+
"metadata": {}
70+
},
71+
"message_survival_seconds": -1,
72+
"silent": false,
73+
"translations": {}
74+
},
75+
{
76+
"type": "MESG",
77+
"message_id": 10463405355,
78+
"message": "Let's try importing this chat into TalkJS!",
79+
"custom_type": "",
80+
"created_at": 1736856656811,
81+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
82+
"updated_at": 0,
83+
"mentioned_users": [],
84+
"mention_type": "users",
85+
"is_removed": false,
86+
"req_id": "rq-13df2f9e-f1d6-4c75-ae66-32ea1eb1a2d2",
87+
"data": "",
88+
"file": {},
89+
"user": {
90+
"user_id": "nina-sendbird",
91+
"profile_url": "https://talkjs.com/new-web/avatar-7.jpg",
92+
"nickname": "Nina",
93+
"metadata": {}
94+
},
95+
"message_survival_seconds": -1,
96+
"silent": false,
97+
"translations": {}
98+
}
99+
],
100+
"channel": {
101+
"freeze": false,
102+
"is_ephemeral": false,
103+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
104+
"name": "TalkJS migration chat",
105+
"cover_url": "https://static.sendbird.com/sample/cover/cover_14.jpg",
106+
"data": "",
107+
"max_length_message": 5000,
108+
"created_at": 1736855603,
109+
"custom_type": "",
110+
"channel": {
111+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
112+
"name": "TalkJS migration chat",
113+
"cover_url": "https://static.sendbird.com/sample/cover/cover_14.jpg",
114+
"data": "",
115+
"created_at": 1736855603,
116+
"custom_type": "",
117+
"max_length_message": 5000,
118+
"member_count": 3
119+
},
120+
"is_distinct": false,
121+
"is_super": false,
122+
"is_broadcast": false,
123+
"is_public": false,
124+
"is_discoverable": false,
125+
"unread_message_count": 0,
126+
"unread_mention_count": 0,
127+
"sms_fallback_wait_seconds": -1,
128+
"sms_fallback_exclude_user_ids": [],
129+
"message_survival_seconds": -1,
130+
"is_access_code_required": false,
131+
"last_message": {
132+
"type": "MESG",
133+
"message_id": 10463405355,
134+
"message": "Let's try importing this chat into TalkJS!",
135+
"custom_type": "",
136+
"created_at": 1736856656811,
137+
"channel_url": "sendbird_group_channel_483424280_ac14e7e8e6d5b3bc2dd3979fb360ad432ae0d6e8",
138+
"updated_at": 0,
139+
"mentioned_users": [],
140+
"mention_type": "users",
141+
"is_removed": false,
142+
"req_id": "rq-13df2f9e-f1d6-4c75-ae66-32ea1eb1a2d2",
143+
"data": "",
144+
"file": {},
145+
"user": {
146+
"user_id": "nina-sendbird",
147+
"profile_url": "https://talkjs.com/new-web/avatar-7.jpg",
148+
"nickname": "Nina",
149+
"metadata": {}
150+
},
151+
"message_survival_seconds": -1,
152+
"silent": false,
153+
"translations": {}
154+
},
155+
"members": [
156+
{
157+
"name": "Sebastian",
158+
"user_id": "sebastian-sendbird",
159+
"is_active": true,
160+
"nickname": "Sebastian",
161+
"profile_url": "https://talkjs.com/new-web/avatar-2.jpg",
162+
"metadata": {},
163+
"last_seen_at": 0,
164+
"state": "joined",
165+
"is_online": false,
166+
"role": ""
167+
},
168+
{
169+
"name": "Alice",
170+
"user_id": "alice-sendbird",
171+
"is_active": true,
172+
"nickname": "Alice",
173+
"profile_url": "https://talkjs.com/new-web/avatar-6.jpg",
174+
"metadata": {},
175+
"last_seen_at": 0,
176+
"state": "joined",
177+
"is_online": false,
178+
"role": ""
179+
},
180+
{
181+
"name": "Nina",
182+
"user_id": "nina-sendbird",
183+
"is_active": true,
184+
"nickname": "Nina",
185+
"profile_url": "https://talkjs.com/new-web/avatar-7.jpg",
186+
"metadata": {},
187+
"last_seen_at": 0,
188+
"state": "joined",
189+
"is_online": false,
190+
"role": ""
191+
}
192+
],
193+
"joined_member_count": 3,
194+
"member_count": 3
195+
}
196+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"active_users": [
3+
{
4+
"has_ever_logged_in": true,
5+
"user_id": "alice-sendbird",
6+
"is_active": true,
7+
"profile_url": "https://talkjs.com/new-web/avatar-6.jpg",
8+
"metadata": {},
9+
"last_seen_at": "1969-12-31 23:59:59+0000",
10+
"nickname": "Alice",
11+
"access_token": "",
12+
"session_tokens": []
13+
},
14+
{
15+
"has_ever_logged_in": true,
16+
"user_id": "sebastian-sendbird",
17+
"is_active": true,
18+
"profile_url": "https://talkjs.com/new-web/avatar-2.jpg",
19+
"metadata": {},
20+
"last_seen_at": "1969-12-31 23:59:59+0000",
21+
"nickname": "Sebastian",
22+
"access_token": "",
23+
"session_tokens": []
24+
},
25+
{
26+
"has_ever_logged_in": true,
27+
"user_id": "nina-sendbird",
28+
"is_active": true,
29+
"profile_url": "https://talkjs.com/new-web/avatar-7.jpg",
30+
"metadata": {},
31+
"last_seen_at": "1969-12-31 23:59:59+0000",
32+
"nickname": "Nina",
33+
"access_token": "",
34+
"session_tokens": []
35+
}
36+
]
37+
}

rest-api/migrate-data-from-sendbird-to-talkjs/exported-data/active_users.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)