1
2const payload = {
3 action: 'join',
4 additional: {
5 showDate: '2013-06-21T06:30:00.000Z',
6 showId: '8f6f7cc3-fc71-4d79-b131-add88c0233a7',
7 showState: 'live',
8 showTitle: 'Show title',
9 },
10
11 hosts: [
12 {
13 id: '08bb6f54-104b-4abe-9b02-c7af4abeca5e',
14 username: 'john.doe',
15 displayName: 'John Doe',
16 },
17 ],
18 sender: 'LiSA',
19 target: 'show.host',
20 video: {
21 aspectRatio: '9x16',
22 height: 828,
23 width: 1792,
24 },
25};
26
27
28const payload = {
29 action: 'leave',
30 additional: {
31 showDate: '2013-06-21T06:30:00.000Z',
32 showId: '8f6f7cc3-fc71-4d79-b131-add88c0233a7',
33 showState: 'live',
34 showTitle: 'Show title',
35 },
36
37 hosts: [
38 {
39 id: '08bb6f54-104b-4abe-9b02-c7af4abeca5e',
40 username: 'john.doe',
41 displayName: 'John Doe',
42 },
43 ],
44 sender: 'LiSA',
45 target: 'show.host',
46};
47
48
49const payload = {
50 action: 'toggle',
51 additional: {
52 showDate: '2013-06-21T06:30:00.000Z',
53 showId: '8f6f7cc3-fc71-4d79-b131-add88c0233a7',
54 showState: 'live',
55 showTitle: 'Show title',
56 },
57
58 hosts: [
59 {
60 id: '08bb6f54-104b-4abe-9b02-c7af4abeca5e',
61 username: 'john.doe',
62 displayName: 'John Doe',
63 },
64 ],
65 sender: 'LiSA',
66 target: 'show.host',
67};