/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/chat1/chat_ui.json
2 570 строк
49 KB
chrisnojima-zoom
backport convoid to flips (#29160)
20 апр 2026, 19:26
Не верифицирован
20 апр 2026, 19:26
00ab6c1
Код
Авторство
О чём код?
{ "protocol": "chatUi", "imports": [ { "path": "../keybase1", "type": "idl", "import_as": "keybase1" }, { "path": "../gregor1", "type": "idl", "import_as": "gregor1" }, { "path": "../stellar1", "type": "idl", "import_as": "stellar1" }, { "path": "common.avdl", "type": "idl" }, { "path": "unfurl.avdl", "type": "idl" }, { "path": "commands.avdl", "type": "idl" } ], "types": [ { "type": "record", "name": "UIPagination", "fields": [ { "type": "string", "name": "next" }, { "type": "string", "name": "previous" }, { "type": "int", "name": "num" }, { "type": "boolean", "name": "last" } ] }, { "type": "record", "name": "UIInboxSmallTeamRow", "fields": [ { "type": "ConvIDStr", "name": "convID" }, { "type": "string", "name": "name" }, { "type": "gregor1.Time", "name": "time" }, { "type": "gregor1.Time", "name": "lastSendTime" }, { "type": [ null, "string" ], "name": "snippet" }, { "type": "SnippetDecoration", "name": "snippetDecoration" }, { "type": [ null, "string" ], "name": "draft" }, { "type": "boolean", "name": "isMuted" }, { "type": "boolean", "name": "isTeam" } ] }, { "type": "enum", "name": "UIInboxBigTeamRowTyp", "symbols": [ "LABEL_1", "CHANNEL_2" ] }, { "type": "record", "name": "UIInboxBigTeamChannelRow", "fields": [ { "type": "ConvIDStr", "name": "convID" }, { "type": "string", "name": "teamname" }, { "type": "string", "name": "channelname" }, { "type": [ null, "string" ], "name": "draft" }, { "type": "boolean", "name": "isMuted" } ] }, { "type": "record", "name": "UIInboxBigTeamLabelRow", "fields": [ { "type": "string", "name": "name" }, { "type": "TLFIDStr", "name": "id" } ] }, { "type": "variant", "name": "UIInboxBigTeamRow", "switch": { "type": "UIInboxBigTeamRowTyp", "name": "state" }, "cases": [ { "label": { "name": "LABEL", "def": false }, "body": "UIInboxBigTeamLabelRow" }, { "label": { "name": "CHANNEL", "def": false }, "body": "UIInboxBigTeamChannelRow" } ] }, { "type": "record", "name": "UIInboxReselectInfo", "fields": [ { "type": "ConvIDStr", "name": "oldConvID" }, { "type": [ null, "ConvIDStr" ], "name": "newConvID" } ] }, { "type": "record", "name": "UIInboxLayout", "fields": [ { "type": "int", "name": "totalSmallTeams" }, { "type": { "type": "array", "items": "UIInboxSmallTeamRow" }, "name": "smallTeams" }, { "type": { "type": "array", "items": "UIInboxBigTeamRow" }, "name": "bigTeams" }, { "type": [ null, "UIInboxReselectInfo" ], "name": "reselectInfo" }, { "type": { "type": "array", "items": "UIInboxSmallTeamRow" }, "name": "widgetList" } ] }, { "type": "record", "name": "UnverifiedInboxUIItemMetadata", "fields": [ { "type": "string", "name": "channelName" }, { "type": "string", "name": "headline" }, { "type": "string", "name": "headlineDecorated" }, { "type": "string", "name": "snippet" }, { "type": "SnippetDecoration", "name": "snippetDecoration" }, { "type": { "type": "array", "items": "string" }, "name": "writerNames" }, { "type": { "type": "array", "items": "string" }, "name": "resetParticipants" } ] }, { "type": "record", "name": "UnverifiedInboxUIItem", "fields": [ { "type": "ConvIDStr", "name": "convID" }, { "type": "TLFIDStr", "name": "tlfID" }, { "type": "TopicType", "name": "topicType" }, { "type": "boolean", "name": "isPublic" }, { "type": "boolean", "name": "isDefaultConv" }, { "type": "string", "name": "name" }, { "type": "keybase1.TLFVisibility", "name": "visibility" }, { "type": "ConversationStatus", "name": "status" }, { "type": "ConversationMembersType", "name": "membersType" }, { "type": "ConversationMemberStatus", "name": "memberStatus" }, { "type": "TeamType", "name": "teamType" }, { "type": [ null, "ConversationNotificationInfo" ], "name": "notifications" }, { "type": "gregor1.Time", "name": "time" }, { "type": "ConversationVers", "name": "version" }, { "type": "LocalConversationVers", "name": "localVersion" }, { "type": [ null, "RetentionPolicy" ], "name": "convRetention" }, { "type": [ null, "RetentionPolicy" ], "name": "teamRetention" }, { "type": "MessageID", "name": "maxMsgID" }, { "type": "MessageID", "name": "maxVisibleMsgID" }, { "type": "MessageID", "name": "readMsgID" }, { "type": [ null, "UnverifiedInboxUIItemMetadata" ], "name": "localMetadata" }, { "type": [ null, "string" ], "name": "draft" }, { "type": [ null, "ConversationFinalizeInfo" ], "name": "finalizeInfo" }, { "type": { "type": "array", "items": "ConversationMetadata" }, "name": "supersedes" }, { "type": { "type": "array", "items": "ConversationMetadata" }, "name": "supersededBy" }, { "type": "ConversationCommandGroups", "name": "commands" } ] }, { "type": "record", "name": "UnverifiedInboxUIItems", "fields": [ { "type": { "type": "array", "items": "UnverifiedInboxUIItem" }, "name": "items" }, { "type": "boolean", "name": "offline" } ] }, { "type": "enum", "name": "UIParticipantType", "symbols": [ "NONE_0", "USER_1", "PHONENO_2", "EMAIL_3" ] }, { "type": "record", "name": "UIParticipant", "fields": [ { "type": "UIParticipantType", "name": "type" }, { "type": "string", "name": "assertion" }, { "type": "boolean", "name": "inConvName" }, { "type": [ null, "string" ], "name": "fullName" }, { "type": [ null, "string" ], "name": "contactName" } ] }, { "type": "record", "name": "UIPinnedMessage", "fields": [ { "type": "UIMessage", "name": "message" }, { "type": "string", "name": "pinnerUsername" } ] }, { "type": "record", "name": "InboxUIItem", "fields": [ { "type": "ConvIDStr", "name": "convID" }, { "type": "TLFIDStr", "name": "tlfID" }, { "type": "TopicType", "name": "topicType" }, { "type": "boolean", "name": "isPublic" }, { "type": "boolean", "name": "isEmpty" }, { "type": "boolean", "name": "isDefaultConv" }, { "type": "string", "name": "name" }, { "type": "string", "name": "snippet" }, { "type": "string", "name": "snippetDecorated" }, { "type": "SnippetDecoration", "name": "snippetDecoration" }, { "type": "string", "name": "channel" }, { "type": "string", "name": "headline" }, { "type": "string", "name": "headlineDecorated" }, { "type": [ null, "string" ], "name": "draft" }, { "type": "keybase1.TLFVisibility", "name": "visibility" }, { "type": { "type": "array", "items": "UIParticipant" }, "name": "participants" }, { "type": { "type": "array", "items": "string" }, "name": "resetParticipants" }, { "type": "ConversationStatus", "name": "status" }, { "type": "ConversationMembersType", "name": "membersType" }, { "type": "ConversationMemberStatus", "name": "memberStatus" }, { "type": "TeamType", "name": "teamType" }, { "type": "gregor1.Time", "name": "time" }, { "type": [ null, "ConversationNotificationInfo" ], "name": "notifications" }, { "type": [ null, "ConversationCreatorInfoLocal" ], "name": "creatorInfo" }, { "type": "ConversationVers", "name": "version" }, { "type": "LocalConversationVers", "name": "localVersion" }, { "type": "MessageID", "name": "maxMsgID" }, { "type": "MessageID", "name": "maxVisibleMsgID" }, { "type": "MessageID", "name": "readMsgID" }, { "type": [ null, "RetentionPolicy" ], "name": "convRetention" }, { "type": [ null, "RetentionPolicy" ], "name": "teamRetention" }, { "type": [ null, "ConversationSettingsLocal" ], "name": "convSettings" }, { "type": [ null, "ConversationFinalizeInfo" ], "name": "finalizeInfo" }, { "type": { "type": "array", "items": "ConversationMetadata" }, "name": "supersedes" }, { "type": { "type": "array", "items": "ConversationMetadata" }, "name": "supersededBy" }, { "type": "ConversationCommandGroups", "name": "commands" }, { "type": "ConversationCommandGroups", "name": "botCommands" }, { "type": { "type": "map", "values": "string", "keys": "string" }, "name": "botAliases" }, { "type": [ null, "UIPinnedMessage" ], "name": "pinnedMsg" } ] }, { "type": "record", "name": "InboxUIItemError", "fields": [ { "type": "ConversationErrorType", "name": "typ" }, { "type": "string", "name": "message" }, { "type": "string", "name": "unverifiedTLFName" }, { "type": [ null, "ConversationErrorRekey" ], "name": "rekeyInfo" }, { "type": "UnverifiedInboxUIItem", "name": "remoteConv" } ] }, { "type": "record", "name": "InboxUIItems", "fields": [ { "type": { "type": "array", "items": "InboxUIItem" }, "name": "items" }, { "type": "boolean", "name": "offline" } ] }, { "type": "record", "name": "UIChannelNameMention", "fields": [ { "type": "string", "name": "name" }, { "type": "ConvIDStr", "name": "convID" } ] }, { "type": "record", "name": "UIAssetUrlInfo", "fields": [ { "type": "string", "name": "previewUrl" }, { "type": "string", "name": "fullUrl" }, { "type": "boolean", "name": "fullUrlCached" }, { "type": "string", "name": "mimeType" }, { "type": [ null, "string" ], "name": "videoDuration" }, { "type": "boolean", "name": "inlineVideoPlayable" } ] }, { "type": "record", "name": "UIPaymentInfo", "fields": [ { "type": [ null, "stellar1.AccountID" ], "name": "accountID" }, { "type": "string", "name": "amountDescription" }, { "type": "string", "name": "worth" }, { "type": "string", "name": "worthAtSendTime" }, { "type": "stellar1.BalanceDelta", "name": "delta" }, { "type": "string", "name": "note" }, { "type": "stellar1.PaymentID", "name": "paymentID" }, { "type": "stellar1.PaymentStatus", "name": "status" }, { "type": "string", "name": "statusDescription" }, { "type": "string", "name": "statusDetail" }, { "type": "boolean", "name": "showCancel" }, { "type": "string", "name": "fromUsername" }, { "type": "string", "name": "toUsername" }, { "type": "string", "name": "sourceAmount" }, { "type": "stellar1.Asset", "name": "sourceAsset" }, { "type": "string", "name": "issuerDescription" } ] }, { "type": "record", "name": "UIRequestInfo", "fields": [ { "type": "string", "name": "amount" }, { "type": "string", "name": "amountDescription" }, { "type": [ null, "stellar1.Asset" ], "name": "asset" }, { "type": [ null, "stellar1.OutsideCurrencyCode" ], "name": "currency" }, { "type": "string", "name": "worthAtRequestTime" }, { "type": "stellar1.RequestStatus", "name": "status" } ] }, { "type": "record", "name": "UIMessageUnfurlInfo", "fields": [ { "type": "MessageID", "name": "unfurlMessageID" }, { "type": "string", "name": "url" }, { "type": "UnfurlDisplay", "name": "unfurl" }, { "type": "boolean", "name": "isCollapsed" } ] }, { "type": "record", "name": "UIReactionDesc", "fields": [ { "type": "string", "name": "decorated" }, { "type": { "type": "map", "values": "Reaction", "keys": "string" }, "name": "users" } ] }, { "type": "record", "name": "UIReactionMap", "fields": [ { "type": { "type": "map", "values": "UIReactionDesc", "keys": "string" }, "name": "reactions" } ] }, { "type": "record", "name": "UIMessageValid", "fields": [ { "type": "MessageID", "name": "messageID" }, { "type": "gregor1.Time", "name": "ctime" }, { "type": [ null, "string" ], "name": "outboxID" }, { "type": "MessageBody", "name": "messageBody" }, { "type": [ null, "string" ], "name": "decoratedTextBody" }, { "type": "string", "name": "bodySummary" }, { "type": "string", "name": "senderUsername" }, { "type": "string", "name": "senderDeviceName" }, { "type": "keybase1.DeviceTypeV2", "name": "senderDeviceType" }, { "type": "gregor1.UID", "name": "senderUID" }, { "type": "gregor1.DeviceID", "name": "senderDeviceID" }, { "type": "boolean", "name": "superseded" }, { "type": [ null, "UIAssetUrlInfo" ], "name": "assetUrlInfo" }, { "type": [ null, "gregor1.Time" ], "name": "senderDeviceRevokedAt" }, { "type": { "type": "array", "items": "string" }, "name": "atMentions" }, { "type": "ChannelMention", "name": "channelMention" }, { "type": { "type": "array", "items": "UIChannelNameMention" }, "name": "channelNameMentions" }, { "type": "boolean", "name": "isEphemeral" }, { "type": "boolean", "name": "isEphemeralExpired" }, { "type": [ null, "string" ], "name": "explodedBy" }, { "type": "gregor1.Time", "name": "etime" }, { "type": "UIReactionMap", "name": "reactions" }, { "type": "boolean", "name": "hasPairwiseMacs" }, { "type": { "type": "array", "items": "UIPaymentInfo" }, "name": "paymentInfos" }, { "type": [ null, "UIRequestInfo" ], "name": "requestInfo" }, { "type": { "type": "array", "items": "UIMessageUnfurlInfo" }, "name": "unfurls" }, { "type": "boolean", "name": "isCollapsed" }, { "type": [ null, "FlipGameIDStr" ], "name": "flipGameID" }, { "type": "boolean", "name": "isDeleteable" }, { "type": "boolean", "name": "isEditable" }, { "type": [ null, "UIMessage" ], "name": "replyTo" }, { "type": [ null, "MessageID" ], "name": "pinnedMessageID" }, { "type": "string", "name": "botUsername" } ] }, { "type": "record", "name": "UIMessageOutbox", "fields": [ { "type": "OutboxState", "name": "state" }, { "type": "string", "name": "outboxID" }, { "type": "MessageType", "name": "messageType" }, { "type": "string", "name": "body" }, { "type": [ null, "string" ], "name": "decoratedTextBody" }, { "type": "gregor1.Time", "name": "ctime" }, { "type": "double", "name": "ordinal" }, { "type": "boolean", "name": "isEphemeral" }, { "type": [ null, "FlipGameIDStr" ], "name": "flipGameID" }, { "type": [ null, "UIMessage" ], "name": "replyTo" }, { "type": "MessageID", "name": "supersedes" }, { "type": "string", "name": "filename" }, { "type": "string", "name": "title" }, { "type": [ null, "MakePreviewRes" ], "name": "preview" } ] }, { "type": "record", "name": "UIMessageJourneycard", "fields": [ { "type": "double", "name": "ordinal" }, { "type": "JourneycardType", "name": "cardType" }, { "type": "MessageID", "name": "highlightMsgID" }, { "type": "boolean", "name": "openTeam" } ] }, { "type": "enum", "name": "MessageUnboxedState", "symbols": [ "VALID_1", "ERROR_2", "OUTBOX_3", "PLACEHOLDER_4", "JOURNEYCARD_5" ] }, { "type": "variant", "name": "UIMessage", "switch": { "type": "MessageUnboxedState", "name": "state" }, "cases": [ { "label": { "name": "VALID", "def": false }, "body": "UIMessageValid" }, { "label": { "name": "ERROR", "def": false }, "body": "MessageUnboxedError" }, { "label": { "name": "OUTBOX", "def": false }, "body": "UIMessageOutbox" }, { "label": { "name": "PLACEHOLDER", "def": false }, "body": "MessageUnboxedPlaceholder" }, { "label": { "name": "JOURNEYCARD", "def": false }, "body": "UIMessageJourneycard" } ] }, { "type": "record", "name": "UIMessages", "fields": [ { "type": { "type": "array", "items": "UIMessage" }, "name": "messages" }, { "type": [ null, "UIPagination" ], "name": "pagination" } ] }, { "type": "record", "name": "UITeamMention", "fields": [ { "type": "boolean", "name": "inTeam" }, { "type": "boolean", "name": "open" }, { "type": [ null, "string" ], "name": "description" }, { "type": [ null, "int" ], "name": "numMembers" }, { "type": { "type": "array", "items": "string" }, "name": "publicAdmins" }, { "type": [ null, "ConvIDStr" ], "name": "convID" } ] }, { "type": "enum", "name": "UITextDecorationTyp", "symbols": [ "PAYMENT_0", "ATMENTION_1", "CHANNELNAMEMENTION_2", "MAYBEMENTION_3", "LINK_4", "MAILTO_5", "KBFSPATH_6", "EMOJI_7" ] }, { "type": "enum", "name": "UIMaybeMentionStatus", "symbols": [ "UNKNOWN_0", "USER_1", "TEAM_2", "NOTHING_3" ] }, { "type": "record", "name": "UILinkDecoration", "fields": [ { "type": "string", "name": "url" }, { "type": "string", "name": "punycode" } ] }, { "type": "variant", "name": "UIMaybeMentionInfo", "switch": { "type": "UIMaybeMentionStatus", "name": "status" }, "cases": [ { "label": { "name": "UNKNOWN", "def": false }, "body": null }, { "label": { "name": "USER", "def": false }, "body": null }, { "label": { "name": "TEAM", "def": false }, "body": "UITeamMention" }, { "label": { "name": "NOTHING", "def": false }, "body": null } ] }, { "type": "variant", "name": "UITextDecoration", "switch": { "type": "UITextDecorationTyp", "name": "typ" }, "cases": [ { "label": { "name": "PAYMENT", "def": false }, "body": "TextPayment" }, { "label": { "name": "ATMENTION", "def": false }, "body": "string" }, { "label": { "name": "CHANNELNAMEMENTION", "def": false }, "body": "UIChannelNameMention" }, { "label": { "name": "MAYBEMENTION", "def": false }, "body": "MaybeMention" }, { "label": { "name": "LINK", "def": false }, "body": "UILinkDecoration" }, { "label": { "name": "MAILTO", "def": false }, "body": "UILinkDecoration" }, { "label": { "name": "KBFSPATH", "def": false }, "body": "KBFSPath" }, { "label": { "name": "EMOJI", "def": false }, "body": "Emoji" } ] }, { "type": "enum", "name": "UIChatThreadStatusTyp", "symbols": [ "NONE_0", "SERVER_1", "VALIDATING_2", "VALIDATED_3" ] }, { "type": "variant", "name": "UIChatThreadStatus", "switch": { "type": "UIChatThreadStatusTyp", "name": "typ" }, "cases": [ { "label": { "name": "NONE", "def": false }, "body": null }, { "label": { "name": "SERVER", "def": false }, "body": null }, { "label": { "name": "VALIDATING", "def": false }, "body": "int" }, { "label": { "name": "VALIDATED", "def": false }, "body": null } ] }, { "type": "record", "name": "UIChatSearchConvHit", "fields": [ { "type": "ConvIDStr", "name": "convID" }, { "type": "TeamType", "name": "teamType" }, { "type": "string", "name": "name" }, { "type": "gregor1.Time", "name": "mtime" } ] }, { "type": "record", "name": "UIChatSearchConvHits", "fields": [ { "type": { "type": "array", "items": "UIChatSearchConvHit" }, "name": "hits" }, { "type": "boolean", "name": "unreadMatches" } ] }, { "type": "record", "name": "UIChatSearchTeamHits", "fields": [ { "type": { "type": "array", "items": "keybase1.TeamSearchItem" }, "name": "hits" }, { "type": "boolean", "name": "suggestedMatches" } ] }, { "type": "record", "name": "UIChatSearchBotHits", "fields": [ { "type": { "type": "array", "items": "keybase1.FeaturedBot" }, "name": "hits" }, { "type": "boolean", "name": "suggestedMatches" } ] }, { "type": "record", "name": "UIChatPayment", "fields": [ { "type": "string", "name": "username" }, { "type": "string", "name": "fullName" }, { "type": "string", "name": "xlmAmount" }, { "type": [ null, "string" ], "name": "error" }, { "type": [ null, "string" ], "name": "displayAmount" } ] }, { "type": "record", "name": "UIChatPaymentSummary", "fields": [ { "type": "string", "name": "xlmTotal" }, { "type": "string", "name": "displayTotal" }, { "type": { "type": "array", "items": "UIChatPayment" }, "name": "payments" } ] }, { "type": "record", "name": "GiphySearchResult", "fields": [ { "type": "string", "name": "targetUrl" }, { "type": "string", "name": "preferredPreviewUrl" }, { "type": "string", "name": "previewUrl" }, { "type": "int", "name": "previewWidth" }, { "type": "int", "name": "previewHeight" }, { "type": "boolean", "name": "previewIsVideo" } ] }, { "type": "record", "name": "GiphySearchResults", "fields": [ { "type": { "type": "array", "items": "GiphySearchResult" }, "name": "results" }, { "type": "string", "name": "galleryUrl" } ] }, { "type": "enum", "name": "UICoinFlipPhase", "symbols": [ "COMMITMENT_0", "REVEALS_1", "COMPLETE_2", "ERROR_3" ] }, { "type": "record", "name": "UICoinFlipErrorParticipant", "fields": [ { "type": "string", "name": "user" }, { "type": "string", "name": "device" } ] }, { "type": "record", "name": "UICoinFlipAbsenteeError", "fields": [ { "type": { "type": "array", "items": "UICoinFlipErrorParticipant" }, "name": "absentees" } ] }, { "type": "enum", "name": "UICoinFlipErrorTyp", "symbols": [ "GENERIC_0", "ABSENTEE_1", "TIMEOUT_2", "ABORTED_3", "DUPREG_4", "DUPCOMMITCOMPLETE_5", "DUPREVEAL_6", "COMMITMISMATCH_7" ] }, { "type": "variant", "name": "UICoinFlipError", "switch": { "type": "UICoinFlipErrorTyp", "name": "typ" }, "cases": [ { "label": { "name": "GENERIC", "def": false }, "body": "string" }, { "label": { "name": "ABSENTEE", "def": false }, "body": "UICoinFlipAbsenteeError" }, { "label": { "name": "TIMEOUT", "def": false }, "body": null }, { "label": { "name": "ABORTED", "def": false }, "body": null }, { "label": { "name": "DUPREG", "def": false }, "body": "UICoinFlipErrorParticipant" }, { "label": { "name": "DUPCOMMITCOMPLETE", "def": false }, "body": "UICoinFlipErrorParticipant" }, { "label": { "name": "DUPREVEAL", "def": false }, "body": "UICoinFlipErrorParticipant" }, { "label": { "name": "COMMITMISMATCH", "def": false }, "body": "UICoinFlipErrorParticipant" } ] }, { "type": "enum", "name": "UICoinFlipResultTyp", "symbols": [ "NUMBER_0", "SHUFFLE_1", "DECK_2", "HANDS_3", "COIN_4" ] }, { "type": "record", "name": "UICoinFlipHand", "fields": [ { "type": "string", "name": "target" }, { "type": { "type": "array", "items": "int" }, "name": "hand" } ] }, { "type": "variant", "name": "UICoinFlipResult", "switch": { "type": "UICoinFlipResultTyp", "name": "typ" }, "cases": [ { "label": { "name": "NUMBER", "def": false }, "body": "string" }, { "label": { "name": "SHUFFLE", "def": false }, "body": { "type": "array", "items": "string" } }, { "label": { "name": "DECK", "def": false }, "body": { "type": "array", "items": "int" } }, { "label": { "name": "HANDS", "def": false }, "body": { "type": "array", "items": "UICoinFlipHand" } }, { "label": { "name": "COIN", "def": false }, "body": "bool" } ] }, { "type": "record", "name": "UICoinFlipParticipant", "fields": [ { "type": "string", "name": "uid" }, { "type": "string", "name": "deviceID" }, { "type": "string", "name": "username" }, { "type": "string", "name": "deviceName" }, { "type": "string", "name": "commitment" }, { "type": [ null, "string" ], "name": "reveal" } ] }, { "type": "record", "name": "UICoinFlipStatus", "fields": [ { "type": "FlipGameIDStr", "name": "gameID" }, { "type": "ConvIDStr", "name": "convID" }, { "type": "UICoinFlipPhase", "name": "phase" }, { "type": "string", "name": "progressText" }, { "type": "string", "name": "resultText" }, { "type": "string", "name": "commitmentVisualization" }, { "type": "string", "name": "revealVisualization" }, { "type": { "type": "array", "items": "UICoinFlipParticipant" }, "name": "participants" }, { "type": [ null, "UICoinFlipError" ], "name": "errorInfo" }, { "type": [ null, "UICoinFlipResult" ], "name": "resultInfo" } ] }, { "type": "record", "name": "UICommandMarkdown", "fields": [ { "type": "string", "name": "body" }, { "type": [ null, "string" ], "name": "title" } ] }, { "type": "record", "name": "LocationWatchID", "fields": [], "typedef": "uint64", "lint": "ignore" }, { "type": "enum", "name": "UIWatchPositionPerm", "symbols": [ "BASE_0", "ALWAYS_1" ] }, { "type": "enum", "name": "UICommandStatusDisplayTyp", "symbols": [ "STATUS_0", "WARNING_1", "ERROR_2" ] }, { "type": "enum", "name": "UICommandStatusActionTyp", "symbols": [ "APPSETTINGS_0" ] }, { "type": "enum", "name": "UIBotCommandsUpdateStatusTyp", "symbols": [ "UPTODATE_0", "UPDATING_1", "FAILED_2", "BLANK_3" ] }, { "type": "record", "name": "UIBotCommandsUpdateSettings", "fields": [ { "type": { "type": "map", "values": "keybase1.TeamBotSettings", "keys": "string" }, "name": "settings" } ] }, { "type": "variant", "name": "UIBotCommandsUpdateStatus", "switch": { "type": "UIBotCommandsUpdateStatusTyp", "name": "typ" }, "cases": [ { "label": { "name": "UPTODATE", "def": false }, "body": "UIBotCommandsUpdateSettings" }, { "label": { "name": "UPDATING", "def": false }, "body": null }, { "label": { "name": "FAILED", "def": false }, "body": null }, { "label": { "name": "BLANK", "def": false }, "body": null } ] } ], "messages": { "chatInboxLayout": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "layout", "type": "string" } ], "response": null }, "chatInboxUnverified": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "inbox", "type": "string" } ], "response": null }, "chatInboxConversation": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convs", "type": "string" } ], "response": null }, "chatInboxFailed": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convID", "type": "ConversationID" }, { "name": "error", "type": "InboxUIItemError" } ], "response": null }, "chatThreadCached": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "thread", "type": [ null, "string" ] } ], "response": null }, "chatThreadFull": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "thread", "type": "string" } ], "response": null }, "chatThreadStatus": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "status", "type": "UIChatThreadStatus" } ], "response": null }, "chatSearchHit": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "searchHit", "type": "ChatSearchHit" } ], "response": null }, "chatSearchDone": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "numHits", "type": "int" } ], "response": null }, "chatSearchInboxStart": { "request": [ { "name": "sessionID", "type": "int" } ], "response": null }, "chatSearchInboxHit": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "searchHit", "type": "ChatSearchInboxHit" } ], "response": null }, "chatSearchInboxDone": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "res", "type": "ChatSearchInboxDone" } ], "response": null }, "chatSearchIndexStatus": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "status", "type": "ChatSearchIndexStatus" } ], "response": null }, "chatSearchConvHits": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "hits", "type": "UIChatSearchConvHits" } ], "response": null }, "chatSearchTeamHits": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "hits", "type": "UIChatSearchTeamHits" } ], "response": null }, "chatSearchBotHits": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "hits", "type": "UIChatSearchBotHits" } ], "response": null }, "chatConfirmChannelDelete": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "channel", "type": "string" } ], "response": "boolean" }, "chatStellarShowConfirm": { "request": [ { "name": "sessionID", "type": "int" } ], "response": null }, "chatStellarDataConfirm": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "summary", "type": "UIChatPaymentSummary" } ], "response": "boolean" }, "chatStellarDataError": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "error", "type": "keybase1.Status" } ], "response": "boolean" }, "chatStellarDone": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "canceled", "type": "boolean" } ], "response": null }, "chatGiphySearchResults": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convID", "type": "ConvIDStr" }, { "name": "results", "type": "GiphySearchResults" } ], "response": null }, "chatGiphyToggleResultWindow": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convID", "type": "ConvIDStr" }, { "name": "show", "type": "boolean" }, { "name": "clearInput", "type": "boolean" } ], "response": null }, "chatShowManageChannels": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "teamname", "type": "string" } ], "response": null }, "chatCoinFlipStatus": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "statuses", "type": { "type": "array", "items": "UICoinFlipStatus" } } ], "response": null }, "chatCommandMarkdown": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convID", "type": "ConvIDStr" }, { "name": "md", "type": [ null, "UICommandMarkdown" ] } ], "response": null }, "chatMaybeMentionUpdate": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "teamName", "type": "string" }, { "name": "channel", "type": "string" }, { "name": "info", "type": "UIMaybeMentionInfo" } ], "response": null }, "chatLoadGalleryHit": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "message", "type": "UIMessage" } ], "response": null }, "chatWatchPosition": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convID", "type": "ConversationID" }, { "name": "perm", "type": "UIWatchPositionPerm" } ], "response": "LocationWatchID" }, "chatClearWatch": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "id", "type": "LocationWatchID" } ], "response": null }, "chatCommandStatus": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convID", "type": "ConvIDStr" }, { "name": "displayText", "type": "string" }, { "name": "typ", "type": "UICommandStatusDisplayTyp" }, { "name": "actions", "type": { "type": "array", "items": "UICommandStatusActionTyp" } } ], "response": null }, "chatBotCommandsUpdateStatus": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "convID", "type": "ConvIDStr" }, { "name": "status", "type": "UIBotCommandsUpdateStatus" } ], "response": null }, "triggerContactSync": { "request": [ { "name": "sessionID", "type": "int" } ], "response": null } }, "namespace": "chat.1" }