1{
2  "protocol": "chatUi",
3  "imports": [
4    {
5      "path": "../keybase1",
6      "type": "idl",
7      "import_as": "keybase1"
8    },
9    {
10      "path": "../gregor1",
11      "type": "idl",
12      "import_as": "gregor1"
13    },
14    {
15      "path": "../stellar1",
16      "type": "idl",
17      "import_as": "stellar1"
18    },
19    {
20      "path": "common.avdl",
21      "type": "idl"
22    },
23    {
24      "path": "unfurl.avdl",
25      "type": "idl"
26    },
27    {
28      "path": "commands.avdl",
29      "type": "idl"
30    }
31  ],
32  "types": [
33    {
34      "type": "record",
35      "name": "UIPagination",
36      "fields": [
37        {
38          "type": "string",
39          "name": "next"
40        },
41        {
42          "type": "string",
43          "name": "previous"
44        },
45        {
46          "type": "int",
47          "name": "num"
48        },
49        {
50          "type": "boolean",
51          "name": "last"
52        }
53      ]
54    },
55    {
56      "type": "record",
57      "name": "UIInboxSmallTeamRow",
58      "fields": [
59        {
60          "type": "ConvIDStr",
61          "name": "convID"
62        },
63        {
64          "type": "string",
65          "name": "name"
66        },
67        {
68          "type": "gregor1.Time",
69          "name": "time"
70        },
71        {
72          "type": [
73            null,
74            "string"
75          ],
76          "name": "snippet"
77        },
78        {
79          "type": "SnippetDecoration",
80          "name": "snippetDecoration"
81        },
82        {
83          "type": [
84            null,
85            "string"
86          ],
87          "name": "draft"
88        },
89        {
90          "type": "boolean",
91          "name": "isMuted"
92        },
93        {
94          "type": "boolean",
95          "name": "isTeam"
96        }
97      ]
98    },
99    {
100      "type": "enum",
101      "name": "UIInboxBigTeamRowTyp",
102      "symbols": [
103        "LABEL_1",
104        "CHANNEL_2"
105      ]
106    },
107    {
108      "type": "record",
109      "name": "UIInboxBigTeamChannelRow",
110      "fields": [
111        {
112          "type": "ConvIDStr",
113          "name": "convID"
114        },
115        {
116          "type": "string",
117          "name": "teamname"
118        },
119        {
120          "type": "string",
121          "name": "channelname"
122        },
123        {
124          "type": [
125            null,
126            "string"
127          ],
128          "name": "draft"
129        },
130        {
131          "type": "boolean",
132          "name": "isMuted"
133        }
134      ]
135    },
136    {
137      "type": "record",
138      "name": "UIInboxBigTeamLabelRow",
139      "fields": [
140        {
141          "type": "string",
142          "name": "name"
143        },
144        {
145          "type": "TLFIDStr",
146          "name": "id"
147        }
148      ]
149    },
150    {
151      "type": "variant",
152      "name": "UIInboxBigTeamRow",
153      "switch": {
154        "type": "UIInboxBigTeamRowTyp",
155        "name": "state"
156      },
157      "cases": [
158        {
159          "label": {
160            "name": "LABEL",
161            "def": false
162          },
163          "body": "UIInboxBigTeamLabelRow"
164        },
165        {
166          "label": {
167            "name": "CHANNEL",
168            "def": false
169          },
170          "body": "UIInboxBigTeamChannelRow"
171        }
172      ]
173    },
174    {
175      "type": "record",
176      "name": "UIInboxReselectInfo",
177      "fields": [
178        {
179          "type": "ConvIDStr",
180          "name": "oldConvID"
181        },
182        {
183          "type": [
184            null,
185            "ConvIDStr"
186          ],
187          "name": "newConvID"
188        }
189      ]
190    },
191    {
192      "type": "record",
193      "name": "UIInboxLayout",
194      "fields": [
195        {
196          "type": "int",
197          "name": "totalSmallTeams"
198        },
199        {
200          "type": {
201            "type": "array",
202            "items": "UIInboxSmallTeamRow"
203          },
204          "name": "smallTeams"
205        },
206        {
207          "type": {
208            "type": "array",
209            "items": "UIInboxBigTeamRow"
210          },
211          "name": "bigTeams"
212        },
213        {
214          "type": [
215            null,
216            "UIInboxReselectInfo"
217          ],
218          "name": "reselectInfo"
219        },
220        {
221          "type": {
222            "type": "array",
223            "items": "UIInboxSmallTeamRow"
224          },
225          "name": "widgetList"
226        }
227      ]
228    },
229    {
230      "type": "record",
231      "name": "UnverifiedInboxUIItemMetadata",
232      "fields": [
233        {
234          "type": "string",
235          "name": "channelName"
236        },
237        {
238          "type": "string",
239          "name": "headline"
240        },
241        {
242          "type": "string",
243          "name": "headlineDecorated"
244        },
245        {
246          "type": "string",
247          "name": "snippet"
248        },
249        {
250          "type": "SnippetDecoration",
251          "name": "snippetDecoration"
252        },
253        {
254          "type": {
255            "type": "array",
256            "items": "string"
257          },
258          "name": "writerNames"
259        },
260        {
261          "type": {
262            "type": "array",
263            "items": "string"
264          },
265          "name": "resetParticipants"
266        }
267      ]
268    },
269    {
270      "type": "record",
271      "name": "UnverifiedInboxUIItem",
272      "fields": [
273        {
274          "type": "ConvIDStr",
275          "name": "convID"
276        },
277        {
278          "type": "TLFIDStr",
279          "name": "tlfID"
280        },
281        {
282          "type": "TopicType",
283          "name": "topicType"
284        },
285        {
286          "type": "boolean",
287          "name": "isPublic"
288        },
289        {
290          "type": "boolean",
291          "name": "isDefaultConv"
292        },
293        {
294          "type": "string",
295          "name": "name"
296        },
297        {
298          "type": "keybase1.TLFVisibility",
299          "name": "visibility"
300        },
301        {
302          "type": "ConversationStatus",
303          "name": "status"
304        },
305        {
306          "type": "ConversationMembersType",
307          "name": "membersType"
308        },
309        {
310          "type": "ConversationMemberStatus",
311          "name": "memberStatus"
312        },
313        {
314          "type": "TeamType",
315          "name": "teamType"
316        },
317        {
318          "type": [
319            null,
320            "ConversationNotificationInfo"
321          ],
322          "name": "notifications"
323        },
324        {
325          "type": "gregor1.Time",
326          "name": "time"
327        },
328        {
329          "type": "ConversationVers",
330          "name": "version"
331        },
332        {
333          "type": "LocalConversationVers",
334          "name": "localVersion"
335        },
336        {
337          "type": [
338            null,
339            "RetentionPolicy"
340          ],
341          "name": "convRetention"
342        },
343        {
344          "type": [
345            null,
346            "RetentionPolicy"
347          ],
348          "name": "teamRetention"
349        },
350        {
351          "type": "MessageID",
352          "name": "maxMsgID"
353        },
354        {
355          "type": "MessageID",
356          "name": "maxVisibleMsgID"
357        },
358        {
359          "type": "MessageID",
360          "name": "readMsgID"
361        },
362        {
363          "type": [
364            null,
365            "UnverifiedInboxUIItemMetadata"
366          ],
367          "name": "localMetadata"
368        },
369        {
370          "type": [
371            null,
372            "string"
373          ],
374          "name": "draft"
375        },
376        {
377          "type": [
378            null,
379            "ConversationFinalizeInfo"
380          ],
381          "name": "finalizeInfo"
382        },
383        {
384          "type": {
385            "type": "array",
386            "items": "ConversationMetadata"
387          },
388          "name": "supersedes"
389        },
390        {
391          "type": {
392            "type": "array",
393            "items": "ConversationMetadata"
394          },
395          "name": "supersededBy"
396        },
397        {
398          "type": "ConversationCommandGroups",
399          "name": "commands"
400        }
401      ]
402    },
403    {
404      "type": "record",
405      "name": "UnverifiedInboxUIItems",
406      "fields": [
407        {
408          "type": {
409            "type": "array",
410            "items": "UnverifiedInboxUIItem"
411          },
412          "name": "items"
413        },
414        {
415          "type": "boolean",
416          "name": "offline"
417        }
418      ]
419    },
420    {
421      "type": "enum",
422      "name": "UIParticipantType",
423      "symbols": [
424        "NONE_0",
425        "USER_1",
426        "PHONENO_2",
427        "EMAIL_3"
428      ]
429    },
430    {
431      "type": "record",
432      "name": "UIParticipant",
433      "fields": [
434        {
435          "type": "UIParticipantType",
436          "name": "type"
437        },
438        {
439          "type": "string",
440          "name": "assertion"
441        },
442        {
443          "type": "boolean",
444          "name": "inConvName"
445        },
446        {
447          "type": [
448            null,
449            "string"
450          ],
451          "name": "fullName"
452        },
453        {
454          "type": [
455            null,
456            "string"
457          ],
458          "name": "contactName"
459        }
460      ]
461    },
462    {
463      "type": "record",
464      "name": "UIPinnedMessage",
465      "fields": [
466        {
467          "type": "UIMessage",
468          "name": "message"
469        },
470        {
471          "type": "string",
472          "name": "pinnerUsername"
473        }
474      ]
475    },
476    {
477      "type": "record",
478      "name": "InboxUIItem",
479      "fields": [
480        {
481          "type": "ConvIDStr",
482          "name": "convID"
483        },
484        {
485          "type": "TLFIDStr",
486          "name": "tlfID"
487        },
488        {
489          "type": "TopicType",
490          "name": "topicType"
491        },
492        {
493          "type": "boolean",
494          "name": "isPublic"
495        },
496        {
497          "type": "boolean",
498          "name": "isEmpty"
499        },
500        {
501          "type": "boolean",
502          "name": "isDefaultConv"
503        },
504        {
505          "type": "string",
506          "name": "name"
507        },
508        {
509          "type": "string",
510          "name": "snippet"
511        },
512        {
513          "type": "string",
514          "name": "snippetDecorated"
515        },
516        {
517          "type": "SnippetDecoration",
518          "name": "snippetDecoration"
519        },
520        {
521          "type": "string",
522          "name": "channel"
523        },
524        {
525          "type": "string",
526          "name": "headline"
527        },
528        {
529          "type": "string",
530          "name": "headlineDecorated"
531        },
532        {
533          "type": [
534            null,
535            "string"
536          ],
537          "name": "draft"
538        },
539        {
540          "type": "keybase1.TLFVisibility",
541          "name": "visibility"
542        },
543        {
544          "type": {
545            "type": "array",
546            "items": "UIParticipant"
547          },
548          "name": "participants"
549        },
550        {
551          "type": {
552            "type": "array",
553            "items": "string"
554          },
555          "name": "resetParticipants"
556        },
557        {
558          "type": "ConversationStatus",
559          "name": "status"
560        },
561        {
562          "type": "ConversationMembersType",
563          "name": "membersType"
564        },
565        {
566          "type": "ConversationMemberStatus",
567          "name": "memberStatus"
568        },
569        {
570          "type": "TeamType",
571          "name": "teamType"
572        },
573        {
574          "type": "gregor1.Time",
575          "name": "time"
576        },
577        {
578          "type": [
579            null,
580            "ConversationNotificationInfo"
581          ],
582          "name": "notifications"
583        },
584        {
585          "type": [
586            null,
587            "ConversationCreatorInfoLocal"
588          ],
589          "name": "creatorInfo"
590        },
591        {
592          "type": "ConversationVers",
593          "name": "version"
594        },
595        {
596          "type": "LocalConversationVers",
597          "name": "localVersion"
598        },
599        {
600          "type": "MessageID",
601          "name": "maxMsgID"
602        },
603        {
604          "type": "MessageID",
605          "name": "maxVisibleMsgID"
606        },
607        {
608          "type": "MessageID",
609          "name": "readMsgID"
610        },
611        {
612          "type": [
613            null,
614            "RetentionPolicy"
615          ],
616          "name": "convRetention"
617        },
618        {
619          "type": [
620            null,
621            "RetentionPolicy"
622          ],
623          "name": "teamRetention"
624        },
625        {
626          "type": [
627            null,
628            "ConversationSettingsLocal"
629          ],
630          "name": "convSettings"
631        },
632        {
633          "type": [
634            null,
635            "ConversationFinalizeInfo"
636          ],
637          "name": "finalizeInfo"
638        },
639        {
640          "type": {
641            "type": "array",
642            "items": "ConversationMetadata"
643          },
644          "name": "supersedes"
645        },
646        {
647          "type": {
648            "type": "array",
649            "items": "ConversationMetadata"
650          },
651          "name": "supersededBy"
652        },
653        {
654          "type": "ConversationCommandGroups",
655          "name": "commands"
656        },
657        {
658          "type": "ConversationCommandGroups",
659          "name": "botCommands"
660        },
661        {
662          "type": {
663            "type": "map",
664            "values": "string",
665            "keys": "string"
666          },
667          "name": "botAliases"
668        },
669        {
670          "type": [
671            null,
672            "UIPinnedMessage"
673          ],
674          "name": "pinnedMsg"
675        }
676      ]
677    },
678    {
679      "type": "record",
680      "name": "InboxUIItemError",
681      "fields": [
682        {
683          "type": "ConversationErrorType",
684          "name": "typ"
685        },
686        {
687          "type": "string",
688          "name": "message"
689        },
690        {
691          "type": "string",
692          "name": "unverifiedTLFName"
693        },
694        {
695          "type": [
696            null,
697            "ConversationErrorRekey"
698          ],
699          "name": "rekeyInfo"
700        },
701        {
702          "type": "UnverifiedInboxUIItem",
703          "name": "remoteConv"
704        }
705      ]
706    },
707    {
708      "type": "record",
709      "name": "InboxUIItems",
710      "fields": [
711        {
712          "type": {
713            "type": "array",
714            "items": "InboxUIItem"
715          },
716          "name": "items"
717        },
718        {
719          "type": "boolean",
720          "name": "offline"
721        }
722      ]
723    },
724    {
725      "type": "record",
726      "name": "UIChannelNameMention",
727      "fields": [
728        {
729          "type": "string",
730          "name": "name"
731        },
732        {
733          "type": "ConvIDStr",
734          "name": "convID"
735        }
736      ]
737    },
738    {
739      "type": "record",
740      "name": "UIAssetUrlInfo",
741      "fields": [
742        {
743          "type": "string",
744          "name": "previewUrl"
745        },
746        {
747          "type": "string",
748          "name": "fullUrl"
749        },
750        {
751          "type": "boolean",
752          "name": "fullUrlCached"
753        },
754        {
755          "type": "string",
756          "name": "mimeType"
757        },
758        {
759          "type": [
760            null,
761            "string"
762          ],
763          "name": "videoDuration"
764        },
765        {
766          "type": "boolean",
767          "name": "inlineVideoPlayable"
768        }
769      ]
770    },
771    {
772      "type": "record",
773      "name": "UIPaymentInfo",
774      "fields": [
775        {
776          "type": [
777            null,
778            "stellar1.AccountID"
779          ],
780          "name": "accountID"
781        },
782        {
783          "type": "string",
784          "name": "amountDescription"
785        },
786        {
787          "type": "string",
788          "name": "worth"
789        },
790        {
791          "type": "string",
792          "name": "worthAtSendTime"
793        },
794        {
795          "type": "stellar1.BalanceDelta",
796          "name": "delta"
797        },
798        {
799          "type": "string",
800          "name": "note"
801        },
802        {
803          "type": "stellar1.PaymentID",
804          "name": "paymentID"
805        },
806        {
807          "type": "stellar1.PaymentStatus",
808          "name": "status"
809        },
810        {
811          "type": "string",
812          "name": "statusDescription"
813        },
814        {
815          "type": "string",
816          "name": "statusDetail"
817        },
818        {
819          "type": "boolean",
820          "name": "showCancel"
821        },
822        {
823          "type": "string",
824          "name": "fromUsername"
825        },
826        {
827          "type": "string",
828          "name": "toUsername"
829        },
830        {
831          "type": "string",
832          "name": "sourceAmount"
833        },
834        {
835          "type": "stellar1.Asset",
836          "name": "sourceAsset"
837        },
838        {
839          "type": "string",
840          "name": "issuerDescription"
841        }
842      ]
843    },
844    {
845      "type": "record",
846      "name": "UIRequestInfo",
847      "fields": [
848        {
849          "type": "string",
850          "name": "amount"
851        },
852        {
853          "type": "string",
854          "name": "amountDescription"
855        },
856        {
857          "type": [
858            null,
859            "stellar1.Asset"
860          ],
861          "name": "asset"
862        },
863        {
864          "type": [
865            null,
866            "stellar1.OutsideCurrencyCode"
867          ],
868          "name": "currency"
869        },
870        {
871          "type": "string",
872          "name": "worthAtRequestTime"
873        },
874        {
875          "type": "stellar1.RequestStatus",
876          "name": "status"
877        }
878      ]
879    },
880    {
881      "type": "record",
882      "name": "UIMessageUnfurlInfo",
883      "fields": [
884        {
885          "type": "MessageID",
886          "name": "unfurlMessageID"
887        },
888        {
889          "type": "string",
890          "name": "url"
891        },
892        {
893          "type": "UnfurlDisplay",
894          "name": "unfurl"
895        },
896        {
897          "type": "boolean",
898          "name": "isCollapsed"
899        }
900      ]
901    },
902    {
903      "type": "record",
904      "name": "UIReactionDesc",
905      "fields": [
906        {
907          "type": "string",
908          "name": "decorated"
909        },
910        {
911          "type": {
912            "type": "map",
913            "values": "Reaction",
914            "keys": "string"
915          },
916          "name": "users"
917        }
918      ]
919    },
920    {
921      "type": "record",
922      "name": "UIReactionMap",
923      "fields": [
924        {
925          "type": {
926            "type": "map",
927            "values": "UIReactionDesc",
928            "keys": "string"
929          },
930          "name": "reactions"
931        }
932      ]
933    },
934    {
935      "type": "record",
936      "name": "UIMessageValid",
937      "fields": [
938        {
939          "type": "MessageID",
940          "name": "messageID"
941        },
942        {
943          "type": "gregor1.Time",
944          "name": "ctime"
945        },
946        {
947          "type": [
948            null,
949            "string"
950          ],
951          "name": "outboxID"
952        },
953        {
954          "type": "MessageBody",
955          "name": "messageBody"
956        },
957        {
958          "type": [
959            null,
960            "string"
961          ],
962          "name": "decoratedTextBody"
963        },
964        {
965          "type": "string",
966          "name": "bodySummary"
967        },
968        {
969          "type": "string",
970          "name": "senderUsername"
971        },
972        {
973          "type": "string",
974          "name": "senderDeviceName"
975        },
976        {
977          "type": "keybase1.DeviceTypeV2",
978          "name": "senderDeviceType"
979        },
980        {
981          "type": "gregor1.UID",
982          "name": "senderUID"
983        },
984        {
985          "type": "gregor1.DeviceID",
986          "name": "senderDeviceID"
987        },
988        {
989          "type": "boolean",
990          "name": "superseded"
991        },
992        {
993          "type": [
994            null,
995            "UIAssetUrlInfo"
996          ],
997          "name": "assetUrlInfo"
998        },
999        {
1000          "type": [
1001            null,
1002            "gregor1.Time"
1003          ],
1004          "name": "senderDeviceRevokedAt"
1005        },
1006        {
1007          "type": {
1008            "type": "array",
1009            "items": "string"
1010          },
1011          "name": "atMentions"
1012        },
1013        {
1014          "type": "ChannelMention",
1015          "name": "channelMention"
1016        },
1017        {
1018          "type": {
1019            "type": "array",
1020            "items": "UIChannelNameMention"
1021          },
1022          "name": "channelNameMentions"
1023        },
1024        {
1025          "type": "boolean",
1026          "name": "isEphemeral"
1027        },
1028        {
1029          "type": "boolean",
1030          "name": "isEphemeralExpired"
1031        },
1032        {
1033          "type": [
1034            null,
1035            "string"
1036          ],
1037          "name": "explodedBy"
1038        },
1039        {
1040          "type": "gregor1.Time",
1041          "name": "etime"
1042        },
1043        {
1044          "type": "UIReactionMap",
1045          "name": "reactions"
1046        },
1047        {
1048          "type": "boolean",
1049          "name": "hasPairwiseMacs"
1050        },
1051        {
1052          "type": {
1053            "type": "array",
1054            "items": "UIPaymentInfo"
1055          },
1056          "name": "paymentInfos"
1057        },
1058        {
1059          "type": [
1060            null,
1061            "UIRequestInfo"
1062          ],
1063          "name": "requestInfo"
1064        },
1065        {
1066          "type": {
1067            "type": "array",
1068            "items": "UIMessageUnfurlInfo"
1069          },
1070          "name": "unfurls"
1071        },
1072        {
1073          "type": "boolean",
1074          "name": "isCollapsed"
1075        },
1076        {
1077          "type": [
1078            null,
1079            "FlipGameIDStr"
1080          ],
1081          "name": "flipGameID"
1082        },
1083        {
1084          "type": "boolean",
1085          "name": "isDeleteable"
1086        },
1087        {
1088          "type": "boolean",
1089          "name": "isEditable"
1090        },
1091        {
1092          "type": [
1093            null,
1094            "UIMessage"
1095          ],
1096          "name": "replyTo"
1097        },
1098        {
1099          "type": [
1100            null,
1101            "MessageID"
1102          ],
1103          "name": "pinnedMessageID"
1104        },
1105        {
1106          "type": "string",
1107          "name": "botUsername"
1108        }
1109      ]
1110    },
1111    {
1112      "type": "record",
1113      "name": "UIMessageOutbox",
1114      "fields": [
1115        {
1116          "type": "OutboxState",
1117          "name": "state"
1118        },
1119        {
1120          "type": "string",
1121          "name": "outboxID"
1122        },
1123        {
1124          "type": "MessageType",
1125          "name": "messageType"
1126        },
1127        {
1128          "type": "string",
1129          "name": "body"
1130        },
1131        {
1132          "type": [
1133            null,
1134            "string"
1135          ],
1136          "name": "decoratedTextBody"
1137        },
1138        {
1139          "type": "gregor1.Time",
1140          "name": "ctime"
1141        },
1142        {
1143          "type": "double",
1144          "name": "ordinal"
1145        },
1146        {
1147          "type": "boolean",
1148          "name": "isEphemeral"
1149        },
1150        {
1151          "type": [
1152            null,
1153            "FlipGameIDStr"
1154          ],
1155          "name": "flipGameID"
1156        },
1157        {
1158          "type": [
1159            null,
1160            "UIMessage"
1161          ],
1162          "name": "replyTo"
1163        },
1164        {
1165          "type": "MessageID",
1166          "name": "supersedes"
1167        },
1168        {
1169          "type": "string",
1170          "name": "filename"
1171        },
1172        {
1173          "type": "string",
1174          "name": "title"
1175        },
1176        {
1177          "type": [
1178            null,
1179            "MakePreviewRes"
1180          ],
1181          "name": "preview"
1182        }
1183      ]
1184    },
1185    {
1186      "type": "record",
1187      "name": "UIMessageJourneycard",
1188      "fields": [
1189        {
1190          "type": "double",
1191          "name": "ordinal"
1192        },
1193        {
1194          "type": "JourneycardType",
1195          "name": "cardType"
1196        },
1197        {
1198          "type": "MessageID",
1199          "name": "highlightMsgID"
1200        },
1201        {
1202          "type": "boolean",
1203          "name": "openTeam"
1204        }
1205      ]
1206    },
1207    {
1208      "type": "enum",
1209      "name": "MessageUnboxedState",
1210      "symbols": [
1211        "VALID_1",
1212        "ERROR_2",
1213        "OUTBOX_3",
1214        "PLACEHOLDER_4",
1215        "JOURNEYCARD_5"
1216      ]
1217    },
1218    {
1219      "type": "variant",
1220      "name": "UIMessage",
1221      "switch": {
1222        "type": "MessageUnboxedState",
1223        "name": "state"
1224      },
1225      "cases": [
1226        {
1227          "label": {
1228            "name": "VALID",
1229            "def": false
1230          },
1231          "body": "UIMessageValid"
1232        },
1233        {
1234          "label": {
1235            "name": "ERROR",
1236            "def": false
1237          },
1238          "body": "MessageUnboxedError"
1239        },
1240        {
1241          "label": {
1242            "name": "OUTBOX",
1243            "def": false
1244          },
1245          "body": "UIMessageOutbox"
1246        },
1247        {
1248          "label": {
1249            "name": "PLACEHOLDER",
1250            "def": false
1251          },
1252          "body": "MessageUnboxedPlaceholder"
1253        },
1254        {
1255          "label": {
1256            "name": "JOURNEYCARD",
1257            "def": false
1258          },
1259          "body": "UIMessageJourneycard"
1260        }
1261      ]
1262    },
1263    {
1264      "type": "record",
1265      "name": "UIMessages",
1266      "fields": [
1267        {
1268          "type": {
1269            "type": "array",
1270            "items": "UIMessage"
1271          },
1272          "name": "messages"
1273        },
1274        {
1275          "type": [
1276            null,
1277            "UIPagination"
1278          ],
1279          "name": "pagination"
1280        }
1281      ]
1282    },
1283    {
1284      "type": "record",
1285      "name": "UITeamMention",
1286      "fields": [
1287        {
1288          "type": "boolean",
1289          "name": "inTeam"
1290        },
1291        {
1292          "type": "boolean",
1293          "name": "open"
1294        },
1295        {
1296          "type": [
1297            null,
1298            "string"
1299          ],
1300          "name": "description"
1301        },
1302        {
1303          "type": [
1304            null,
1305            "int"
1306          ],
1307          "name": "numMembers"
1308        },
1309        {
1310          "type": {
1311            "type": "array",
1312            "items": "string"
1313          },
1314          "name": "publicAdmins"
1315        },
1316        {
1317          "type": [
1318            null,
1319            "ConvIDStr"
1320          ],
1321          "name": "convID"
1322        }
1323      ]
1324    },
1325    {
1326      "type": "enum",
1327      "name": "UITextDecorationTyp",
1328      "symbols": [
1329        "PAYMENT_0",
1330        "ATMENTION_1",
1331        "CHANNELNAMEMENTION_2",
1332        "MAYBEMENTION_3",
1333        "LINK_4",
1334        "MAILTO_5",
1335        "KBFSPATH_6",
1336        "EMOJI_7"
1337      ]
1338    },
1339    {
1340      "type": "enum",
1341      "name": "UIMaybeMentionStatus",
1342      "symbols": [
1343        "UNKNOWN_0",
1344        "USER_1",
1345        "TEAM_2",
1346        "NOTHING_3"
1347      ]
1348    },
1349    {
1350      "type": "record",
1351      "name": "UILinkDecoration",
1352      "fields": [
1353        {
1354          "type": "string",
1355          "name": "url"
1356        },
1357        {
1358          "type": "string",
1359          "name": "punycode"
1360        }
1361      ]
1362    },
1363    {
1364      "type": "variant",
1365      "name": "UIMaybeMentionInfo",
1366      "switch": {
1367        "type": "UIMaybeMentionStatus",
1368        "name": "status"
1369      },
1370      "cases": [
1371        {
1372          "label": {
1373            "name": "UNKNOWN",
1374            "def": false
1375          },
1376          "body": null
1377        },
1378        {
1379          "label": {
1380            "name": "USER",
1381            "def": false
1382          },
1383          "body": null
1384        },
1385        {
1386          "label": {
1387            "name": "TEAM",
1388            "def": false
1389          },
1390          "body": "UITeamMention"
1391        },
1392        {
1393          "label": {
1394            "name": "NOTHING",
1395            "def": false
1396          },
1397          "body": null
1398        }
1399      ]
1400    },
1401    {
1402      "type": "variant",
1403      "name": "UITextDecoration",
1404      "switch": {
1405        "type": "UITextDecorationTyp",
1406        "name": "typ"
1407      },
1408      "cases": [
1409        {
1410          "label": {
1411            "name": "PAYMENT",
1412            "def": false
1413          },
1414          "body": "TextPayment"
1415        },
1416        {
1417          "label": {
1418            "name": "ATMENTION",
1419            "def": false
1420          },
1421          "body": "string"
1422        },
1423        {
1424          "label": {
1425            "name": "CHANNELNAMEMENTION",
1426            "def": false
1427          },
1428          "body": "UIChannelNameMention"
1429        },
1430        {
1431          "label": {
1432            "name": "MAYBEMENTION",
1433            "def": false
1434          },
1435          "body": "MaybeMention"
1436        },
1437        {
1438          "label": {
1439            "name": "LINK",
1440            "def": false
1441          },
1442          "body": "UILinkDecoration"
1443        },
1444        {
1445          "label": {
1446            "name": "MAILTO",
1447            "def": false
1448          },
1449          "body": "UILinkDecoration"
1450        },
1451        {
1452          "label": {
1453            "name": "KBFSPATH",
1454            "def": false
1455          },
1456          "body": "KBFSPath"
1457        },
1458        {
1459          "label": {
1460            "name": "EMOJI",
1461            "def": false
1462          },
1463          "body": "Emoji"
1464        }
1465      ]
1466    },
1467    {
1468      "type": "enum",
1469      "name": "UIChatThreadStatusTyp",
1470      "symbols": [
1471        "NONE_0",
1472        "SERVER_1",
1473        "VALIDATING_2",
1474        "VALIDATED_3"
1475      ]
1476    },
1477    {
1478      "type": "variant",
1479      "name": "UIChatThreadStatus",
1480      "switch": {
1481        "type": "UIChatThreadStatusTyp",
1482        "name": "typ"
1483      },
1484      "cases": [
1485        {
1486          "label": {
1487            "name": "NONE",
1488            "def": false
1489          },
1490          "body": null
1491        },
1492        {
1493          "label": {
1494            "name": "SERVER",
1495            "def": false
1496          },
1497          "body": null
1498        },
1499        {
1500          "label": {
1501            "name": "VALIDATING",
1502            "def": false
1503          },
1504          "body": "int"
1505        },
1506        {
1507          "label": {
1508            "name": "VALIDATED",
1509            "def": false
1510          },
1511          "body": null
1512        }
1513      ]
1514    },
1515    {
1516      "type": "record",
1517      "name": "UIChatSearchConvHit",
1518      "fields": [
1519        {
1520          "type": "ConvIDStr",
1521          "name": "convID"
1522        },
1523        {
1524          "type": "TeamType",
1525          "name": "teamType"
1526        },
1527        {
1528          "type": "string",
1529          "name": "name"
1530        },
1531        {
1532          "type": "gregor1.Time",
1533          "name": "mtime"
1534        }
1535      ]
1536    },
1537    {
1538      "type": "record",
1539      "name": "UIChatSearchConvHits",
1540      "fields": [
1541        {
1542          "type": {
1543            "type": "array",
1544            "items": "UIChatSearchConvHit"
1545          },
1546          "name": "hits"
1547        },
1548        {
1549          "type": "boolean",
1550          "name": "unreadMatches"
1551        }
1552      ]
1553    },
1554    {
1555      "type": "record",
1556      "name": "UIChatSearchTeamHits",
1557      "fields": [
1558        {
1559          "type": {
1560            "type": "array",
1561            "items": "keybase1.TeamSearchItem"
1562          },
1563          "name": "hits"
1564        },
1565        {
1566          "type": "boolean",
1567          "name": "suggestedMatches"
1568        }
1569      ]
1570    },
1571    {
1572      "type": "record",
1573      "name": "UIChatSearchBotHits",
1574      "fields": [
1575        {
1576          "type": {
1577            "type": "array",
1578            "items": "keybase1.FeaturedBot"
1579          },
1580          "name": "hits"
1581        },
1582        {
1583          "type": "boolean",
1584          "name": "suggestedMatches"
1585        }
1586      ]
1587    },
1588    {
1589      "type": "record",
1590      "name": "UIChatPayment",
1591      "fields": [
1592        {
1593          "type": "string",
1594          "name": "username"
1595        },
1596        {
1597          "type": "string",
1598          "name": "fullName"
1599        },
1600        {
1601          "type": "string",
1602          "name": "xlmAmount"
1603        },
1604        {
1605          "type": [
1606            null,
1607            "string"
1608          ],
1609          "name": "error"
1610        },
1611        {
1612          "type": [
1613            null,
1614            "string"
1615          ],
1616          "name": "displayAmount"
1617        }
1618      ]
1619    },
1620    {
1621      "type": "record",
1622      "name": "UIChatPaymentSummary",
1623      "fields": [
1624        {
1625          "type": "string",
1626          "name": "xlmTotal"
1627        },
1628        {
1629          "type": "string",
1630          "name": "displayTotal"
1631        },
1632        {
1633          "type": {
1634            "type": "array",
1635            "items": "UIChatPayment"
1636          },
1637          "name": "payments"
1638        }
1639      ]
1640    },
1641    {
1642      "type": "record",
1643      "name": "GiphySearchResult",
1644      "fields": [
1645        {
1646          "type": "string",
1647          "name": "targetUrl"
1648        },
1649        {
1650          "type": "string",
1651          "name": "previewUrl"
1652        },
1653        {
1654          "type": "int",
1655          "name": "previewWidth"
1656        },
1657        {
1658          "type": "int",
1659          "name": "previewHeight"
1660        },
1661        {
1662          "type": "boolean",
1663          "name": "previewIsVideo"
1664        }
1665      ]
1666    },
1667    {
1668      "type": "record",
1669      "name": "GiphySearchResults",
1670      "fields": [
1671        {
1672          "type": {
1673            "type": "array",
1674            "items": "GiphySearchResult"
1675          },
1676          "name": "results"
1677        },
1678        {
1679          "type": "string",
1680          "name": "galleryUrl"
1681        }
1682      ]
1683    },
1684    {
1685      "type": "enum",
1686      "name": "UICoinFlipPhase",
1687      "symbols": [
1688        "COMMITMENT_0",
1689        "REVEALS_1",
1690        "COMPLETE_2",
1691        "ERROR_3"
1692      ]
1693    },
1694    {
1695      "type": "record",
1696      "name": "UICoinFlipErrorParticipant",
1697      "fields": [
1698        {
1699          "type": "string",
1700          "name": "user"
1701        },
1702        {
1703          "type": "string",
1704          "name": "device"
1705        }
1706      ]
1707    },
1708    {
1709      "type": "record",
1710      "name": "UICoinFlipAbsenteeError",
1711      "fields": [
1712        {
1713          "type": {
1714            "type": "array",
1715            "items": "UICoinFlipErrorParticipant"
1716          },
1717          "name": "absentees"
1718        }
1719      ]
1720    },
1721    {
1722      "type": "enum",
1723      "name": "UICoinFlipErrorTyp",
1724      "symbols": [
1725        "GENERIC_0",
1726        "ABSENTEE_1",
1727        "TIMEOUT_2",
1728        "ABORTED_3",
1729        "DUPREG_4",
1730        "DUPCOMMITCOMPLETE_5",
1731        "DUPREVEAL_6",
1732        "COMMITMISMATCH_7"
1733      ]
1734    },
1735    {
1736      "type": "variant",
1737      "name": "UICoinFlipError",
1738      "switch": {
1739        "type": "UICoinFlipErrorTyp",
1740        "name": "typ"
1741      },
1742      "cases": [
1743        {
1744          "label": {
1745            "name": "GENERIC",
1746            "def": false
1747          },
1748          "body": "string"
1749        },
1750        {
1751          "label": {
1752            "name": "ABSENTEE",
1753            "def": false
1754          },
1755          "body": "UICoinFlipAbsenteeError"
1756        },
1757        {
1758          "label": {
1759            "name": "TIMEOUT",
1760            "def": false
1761          },
1762          "body": null
1763        },
1764        {
1765          "label": {
1766            "name": "ABORTED",
1767            "def": false
1768          },
1769          "body": null
1770        },
1771        {
1772          "label": {
1773            "name": "DUPREG",
1774            "def": false
1775          },
1776          "body": "UICoinFlipErrorParticipant"
1777        },
1778        {
1779          "label": {
1780            "name": "DUPCOMMITCOMPLETE",
1781            "def": false
1782          },
1783          "body": "UICoinFlipErrorParticipant"
1784        },
1785        {
1786          "label": {
1787            "name": "DUPREVEAL",
1788            "def": false
1789          },
1790          "body": "UICoinFlipErrorParticipant"
1791        },
1792        {
1793          "label": {
1794            "name": "COMMITMISMATCH",
1795            "def": false
1796          },
1797          "body": "UICoinFlipErrorParticipant"
1798        }
1799      ]
1800    },
1801    {
1802      "type": "enum",
1803      "name": "UICoinFlipResultTyp",
1804      "symbols": [
1805        "NUMBER_0",
1806        "SHUFFLE_1",
1807        "DECK_2",
1808        "HANDS_3",
1809        "COIN_4"
1810      ]
1811    },
1812    {
1813      "type": "record",
1814      "name": "UICoinFlipHand",
1815      "fields": [
1816        {
1817          "type": "string",
1818          "name": "target"
1819        },
1820        {
1821          "type": {
1822            "type": "array",
1823            "items": "int"
1824          },
1825          "name": "hand"
1826        }
1827      ]
1828    },
1829    {
1830      "type": "variant",
1831      "name": "UICoinFlipResult",
1832      "switch": {
1833        "type": "UICoinFlipResultTyp",
1834        "name": "typ"
1835      },
1836      "cases": [
1837        {
1838          "label": {
1839            "name": "NUMBER",
1840            "def": false
1841          },
1842          "body": "string"
1843        },
1844        {
1845          "label": {
1846            "name": "SHUFFLE",
1847            "def": false
1848          },
1849          "body": {
1850            "type": "array",
1851            "items": "string"
1852          }
1853        },
1854        {
1855          "label": {
1856            "name": "DECK",
1857            "def": false
1858          },
1859          "body": {
1860            "type": "array",
1861            "items": "int"
1862          }
1863        },
1864        {
1865          "label": {
1866            "name": "HANDS",
1867            "def": false
1868          },
1869          "body": {
1870            "type": "array",
1871            "items": "UICoinFlipHand"
1872          }
1873        },
1874        {
1875          "label": {
1876            "name": "COIN",
1877            "def": false
1878          },
1879          "body": "bool"
1880        }
1881      ]
1882    },
1883    {
1884      "type": "record",
1885      "name": "UICoinFlipParticipant",
1886      "fields": [
1887        {
1888          "type": "string",
1889          "name": "uid"
1890        },
1891        {
1892          "type": "string",
1893          "name": "deviceID"
1894        },
1895        {
1896          "type": "string",
1897          "name": "username"
1898        },
1899        {
1900          "type": "string",
1901          "name": "deviceName"
1902        },
1903        {
1904          "type": "string",
1905          "name": "commitment"
1906        },
1907        {
1908          "type": [
1909            null,
1910            "string"
1911          ],
1912          "name": "reveal"
1913        }
1914      ]
1915    },
1916    {
1917      "type": "record",
1918      "name": "UICoinFlipStatus",
1919      "fields": [
1920        {
1921          "type": "FlipGameIDStr",
1922          "name": "gameID"
1923        },
1924        {
1925          "type": "UICoinFlipPhase",
1926          "name": "phase"
1927        },
1928        {
1929          "type": "string",
1930          "name": "progressText"
1931        },
1932        {
1933          "type": "string",
1934          "name": "resultText"
1935        },
1936        {
1937          "type": "string",
1938          "name": "commitmentVisualization"
1939        },
1940        {
1941          "type": "string",
1942          "name": "revealVisualization"
1943        },
1944        {
1945          "type": {
1946            "type": "array",
1947            "items": "UICoinFlipParticipant"
1948          },
1949          "name": "participants"
1950        },
1951        {
1952          "type": [
1953            null,
1954            "UICoinFlipError"
1955          ],
1956          "name": "errorInfo"
1957        },
1958        {
1959          "type": [
1960            null,
1961            "UICoinFlipResult"
1962          ],
1963          "name": "resultInfo"
1964        }
1965      ]
1966    },
1967    {
1968      "type": "record",
1969      "name": "UICommandMarkdown",
1970      "fields": [
1971        {
1972          "type": "string",
1973          "name": "body"
1974        },
1975        {
1976          "type": [
1977            null,
1978            "string"
1979          ],
1980          "name": "title"
1981        }
1982      ]
1983    },
1984    {
1985      "type": "record",
1986      "name": "LocationWatchID",
1987      "fields": [],
1988      "typedef": "uint64",
1989      "lint": "ignore"
1990    },
1991    {
1992      "type": "enum",
1993      "name": "UIWatchPositionPerm",
1994      "symbols": [
1995        "BASE_0",
1996        "ALWAYS_1"
1997      ]
1998    },
1999    {
2000      "type": "enum",
2001      "name": "UICommandStatusDisplayTyp",
2002      "symbols": [
2003        "STATUS_0",
2004        "WARNING_1",
2005        "ERROR_2"
2006      ]
2007    },
2008    {
2009      "type": "enum",
2010      "name": "UICommandStatusActionTyp",
2011      "symbols": [
2012        "APPSETTINGS_0"
2013      ]
2014    },
2015    {
2016      "type": "enum",
2017      "name": "UIBotCommandsUpdateStatusTyp",
2018      "symbols": [
2019        "UPTODATE_0",
2020        "UPDATING_1",
2021        "FAILED_2",
2022        "BLANK_3"
2023      ]
2024    },
2025    {
2026      "type": "record",
2027      "name": "UIBotCommandsUpdateSettings",
2028      "fields": [
2029        {
2030          "type": {
2031            "type": "map",
2032            "values": "keybase1.TeamBotSettings",
2033            "keys": "string"
2034          },
2035          "name": "settings"
2036        }
2037      ]
2038    },
2039    {
2040      "type": "variant",
2041      "name": "UIBotCommandsUpdateStatus",
2042      "switch": {
2043        "type": "UIBotCommandsUpdateStatusTyp",
2044        "name": "typ"
2045      },
2046      "cases": [
2047        {
2048          "label": {
2049            "name": "UPTODATE",
2050            "def": false
2051          },
2052          "body": "UIBotCommandsUpdateSettings"
2053        },
2054        {
2055          "label": {
2056            "name": "UPDATING",
2057            "def": false
2058          },
2059          "body": null
2060        },
2061        {
2062          "label": {
2063            "name": "FAILED",
2064            "def": false
2065          },
2066          "body": null
2067        },
2068        {
2069          "label": {
2070            "name": "BLANK",
2071            "def": false
2072          },
2073          "body": null
2074        }
2075      ]
2076    }
2077  ],
2078  "messages": {
2079    "chatInboxLayout": {
2080      "request": [
2081        {
2082          "name": "sessionID",
2083          "type": "int"
2084        },
2085        {
2086          "name": "layout",
2087          "type": "string"
2088        }
2089      ],
2090      "response": null
2091    },
2092    "chatInboxUnverified": {
2093      "request": [
2094        {
2095          "name": "sessionID",
2096          "type": "int"
2097        },
2098        {
2099          "name": "inbox",
2100          "type": "string"
2101        }
2102      ],
2103      "response": null
2104    },
2105    "chatInboxConversation": {
2106      "request": [
2107        {
2108          "name": "sessionID",
2109          "type": "int"
2110        },
2111        {
2112          "name": "convs",
2113          "type": "string"
2114        }
2115      ],
2116      "response": null
2117    },
2118    "chatInboxFailed": {
2119      "request": [
2120        {
2121          "name": "sessionID",
2122          "type": "int"
2123        },
2124        {
2125          "name": "convID",
2126          "type": "ConversationID"
2127        },
2128        {
2129          "name": "error",
2130          "type": "InboxUIItemError"
2131        }
2132      ],
2133      "response": null
2134    },
2135    "chatThreadCached": {
2136      "request": [
2137        {
2138          "name": "sessionID",
2139          "type": "int"
2140        },
2141        {
2142          "name": "thread",
2143          "type": [
2144            null,
2145            "string"
2146          ]
2147        }
2148      ],
2149      "response": null
2150    },
2151    "chatThreadFull": {
2152      "request": [
2153        {
2154          "name": "sessionID",
2155          "type": "int"
2156        },
2157        {
2158          "name": "thread",
2159          "type": "string"
2160        }
2161      ],
2162      "response": null
2163    },
2164    "chatThreadStatus": {
2165      "request": [
2166        {
2167          "name": "sessionID",
2168          "type": "int"
2169        },
2170        {
2171          "name": "status",
2172          "type": "UIChatThreadStatus"
2173        }
2174      ],
2175      "response": null
2176    },
2177    "chatSearchHit": {
2178      "request": [
2179        {
2180          "name": "sessionID",
2181          "type": "int"
2182        },
2183        {
2184          "name": "searchHit",
2185          "type": "ChatSearchHit"
2186        }
2187      ],
2188      "response": null
2189    },
2190    "chatSearchDone": {
2191      "request": [
2192        {
2193          "name": "sessionID",
2194          "type": "int"
2195        },
2196        {
2197          "name": "numHits",
2198          "type": "int"
2199        }
2200      ],
2201      "response": null
2202    },
2203    "chatSearchInboxStart": {
2204      "request": [
2205        {
2206          "name": "sessionID",
2207          "type": "int"
2208        }
2209      ],
2210      "response": null
2211    },
2212    "chatSearchInboxHit": {
2213      "request": [
2214        {
2215          "name": "sessionID",
2216          "type": "int"
2217        },
2218        {
2219          "name": "searchHit",
2220          "type": "ChatSearchInboxHit"
2221        }
2222      ],
2223      "response": null
2224    },
2225    "chatSearchInboxDone": {
2226      "request": [
2227        {
2228          "name": "sessionID",
2229          "type": "int"
2230        },
2231        {
2232          "name": "res",
2233          "type": "ChatSearchInboxDone"
2234        }
2235      ],
2236      "response": null
2237    },
2238    "chatSearchIndexStatus": {
2239      "request": [
2240        {
2241          "name": "sessionID",
2242          "type": "int"
2243        },
2244        {
2245          "name": "status",
2246          "type": "ChatSearchIndexStatus"
2247        }
2248      ],
2249      "response": null
2250    },
2251    "chatSearchConvHits": {
2252      "request": [
2253        {
2254          "name": "sessionID",
2255          "type": "int"
2256        },
2257        {
2258          "name": "hits",
2259          "type": "UIChatSearchConvHits"
2260        }
2261      ],
2262      "response": null
2263    },
2264    "chatSearchTeamHits": {
2265      "request": [
2266        {
2267          "name": "sessionID",
2268          "type": "int"
2269        },
2270        {
2271          "name": "hits",
2272          "type": "UIChatSearchTeamHits"
2273        }
2274      ],
2275      "response": null
2276    },
2277    "chatSearchBotHits": {
2278      "request": [
2279        {
2280          "name": "sessionID",
2281          "type": "int"
2282        },
2283        {
2284          "name": "hits",
2285          "type": "UIChatSearchBotHits"
2286        }
2287      ],
2288      "response": null
2289    },
2290    "chatConfirmChannelDelete": {
2291      "request": [
2292        {
2293          "name": "sessionID",
2294          "type": "int"
2295        },
2296        {
2297          "name": "channel",
2298          "type": "string"
2299        }
2300      ],
2301      "response": "boolean"
2302    },
2303    "chatStellarShowConfirm": {
2304      "request": [
2305        {
2306          "name": "sessionID",
2307          "type": "int"
2308        }
2309      ],
2310      "response": null
2311    },
2312    "chatStellarDataConfirm": {
2313      "request": [
2314        {
2315          "name": "sessionID",
2316          "type": "int"
2317        },
2318        {
2319          "name": "summary",
2320          "type": "UIChatPaymentSummary"
2321        }
2322      ],
2323      "response": "boolean"
2324    },
2325    "chatStellarDataError": {
2326      "request": [
2327        {
2328          "name": "sessionID",
2329          "type": "int"
2330        },
2331        {
2332          "name": "error",
2333          "type": "keybase1.Status"
2334        }
2335      ],
2336      "response": "boolean"
2337    },
2338    "chatStellarDone": {
2339      "request": [
2340        {
2341          "name": "sessionID",
2342          "type": "int"
2343        },
2344        {
2345          "name": "canceled",
2346          "type": "boolean"
2347        }
2348      ],
2349      "response": null
2350    },
2351    "chatGiphySearchResults": {
2352      "request": [
2353        {
2354          "name": "sessionID",
2355          "type": "int"
2356        },
2357        {
2358          "name": "convID",
2359          "type": "ConvIDStr"
2360        },
2361        {
2362          "name": "results",
2363          "type": "GiphySearchResults"
2364        }
2365      ],
2366      "response": null
2367    },
2368    "chatGiphyToggleResultWindow": {
2369      "request": [
2370        {
2371          "name": "sessionID",
2372          "type": "int"
2373        },
2374        {
2375          "name": "convID",
2376          "type": "ConvIDStr"
2377        },
2378        {
2379          "name": "show",
2380          "type": "boolean"
2381        },
2382        {
2383          "name": "clearInput",
2384          "type": "boolean"
2385        }
2386      ],
2387      "response": null
2388    },
2389    "chatShowManageChannels": {
2390      "request": [
2391        {
2392          "name": "sessionID",
2393          "type": "int"
2394        },
2395        {
2396          "name": "teamname",
2397          "type": "string"
2398        }
2399      ],
2400      "response": null
2401    },
2402    "chatCoinFlipStatus": {
2403      "request": [
2404        {
2405          "name": "sessionID",
2406          "type": "int"
2407        },
2408        {
2409          "name": "statuses",
2410          "type": {
2411            "type": "array",
2412            "items": "UICoinFlipStatus"
2413          }
2414        }
2415      ],
2416      "response": null
2417    },
2418    "chatCommandMarkdown": {
2419      "request": [
2420        {
2421          "name": "sessionID",
2422          "type": "int"
2423        },
2424        {
2425          "name": "convID",
2426          "type": "ConvIDStr"
2427        },
2428        {
2429          "name": "md",
2430          "type": [
2431            null,
2432            "UICommandMarkdown"
2433          ]
2434        }
2435      ],
2436      "response": null
2437    },
2438    "chatMaybeMentionUpdate": {
2439      "request": [
2440        {
2441          "name": "sessionID",
2442          "type": "int"
2443        },
2444        {
2445          "name": "teamName",
2446          "type": "string"
2447        },
2448        {
2449          "name": "channel",
2450          "type": "string"
2451        },
2452        {
2453          "name": "info",
2454          "type": "UIMaybeMentionInfo"
2455        }
2456      ],
2457      "response": null
2458    },
2459    "chatLoadGalleryHit": {
2460      "request": [
2461        {
2462          "name": "sessionID",
2463          "type": "int"
2464        },
2465        {
2466          "name": "message",
2467          "type": "UIMessage"
2468        }
2469      ],
2470      "response": null
2471    },
2472    "chatWatchPosition": {
2473      "request": [
2474        {
2475          "name": "sessionID",
2476          "type": "int"
2477        },
2478        {
2479          "name": "convID",
2480          "type": "ConversationID"
2481        },
2482        {
2483          "name": "perm",
2484          "type": "UIWatchPositionPerm"
2485        }
2486      ],
2487      "response": "LocationWatchID"
2488    },
2489    "chatClearWatch": {
2490      "request": [
2491        {
2492          "name": "sessionID",
2493          "type": "int"
2494        },
2495        {
2496          "name": "id",
2497          "type": "LocationWatchID"
2498        }
2499      ],
2500      "response": null
2501    },
2502    "chatCommandStatus": {
2503      "request": [
2504        {
2505          "name": "sessionID",
2506          "type": "int"
2507        },
2508        {
2509          "name": "convID",
2510          "type": "ConvIDStr"
2511        },
2512        {
2513          "name": "displayText",
2514          "type": "string"
2515        },
2516        {
2517          "name": "typ",
2518          "type": "UICommandStatusDisplayTyp"
2519        },
2520        {
2521          "name": "actions",
2522          "type": {
2523            "type": "array",
2524            "items": "UICommandStatusActionTyp"
2525          }
2526        }
2527      ],
2528      "response": null
2529    },
2530    "chatBotCommandsUpdateStatus": {
2531      "request": [
2532        {
2533          "name": "sessionID",
2534          "type": "int"
2535        },
2536        {
2537          "name": "convID",
2538          "type": "ConvIDStr"
2539        },
2540        {
2541          "name": "status",
2542          "type": "UIBotCommandsUpdateStatus"
2543        }
2544      ],
2545      "response": null
2546    },
2547    "triggerContactSync": {
2548      "request": [
2549        {
2550          "name": "sessionID",
2551          "type": "int"
2552        }
2553      ],
2554      "response": null
2555    }
2556  },
2557  "namespace": "chat.1"
2558}