/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/chat1/remote.json
1 939 строк
37 KB
zoom-ua
add validateTeamGitChatConv (#29295)
09 июн 2026, 19:55
Не верифицирован
09 июн 2026, 19:55
e658b4a
Код
Авторство
О чём код?
{ "protocol": "remote", "imports": [ { "path": "../gregor1", "type": "idl", "import_as": "gregor1" }, { "path": "../keybase1", "type": "idl", "import_as": "keybase1" } ], "types": [ { "type": "record", "name": "MessageBoxed", "fields": [ { "type": "MessageBoxedVersion", "name": "version" }, { "type": [ null, "MessageServerHeader" ], "name": "serverHeader" }, { "type": "MessageClientHeader", "name": "clientHeader" }, { "type": "SealedData", "name": "headerCiphertext" }, { "type": "EncryptedData", "name": "bodyCiphertext" }, { "type": "bytes", "name": "verifyKey" }, { "type": "int", "name": "keyGeneration" } ] }, { "type": "enum", "name": "MessageBoxedVersion", "symbols": [ "VNONE_0", "V1_1", "V2_2", "V3_3", "V4_4" ] }, { "type": "record", "name": "ThreadViewBoxed", "fields": [ { "type": { "type": "array", "items": "MessageBoxed" }, "name": "messages" }, { "type": [ null, "Pagination" ], "name": "pagination" } ] }, { "type": "record", "name": "GetInboxRemoteRes", "fields": [ { "type": "InboxView", "name": "inbox" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetInboxByTLFIDRemoteRes", "fields": [ { "type": { "type": "array", "items": "Conversation" }, "name": "convs" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetThreadRemoteRes", "fields": [ { "type": "ThreadViewBoxed", "name": "thread" }, { "type": "ConversationMembersType", "name": "membersType" }, { "type": "keybase1.TLFVisibility", "name": "visibility" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetConversationMetadataRemoteRes", "fields": [ { "type": "Conversation", "name": "conv" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "PostRemoteRes", "fields": [ { "type": "MessageServerHeader", "name": "msgHeader" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "NewConversationRemoteRes", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "boolean", "name": "createdComplexTeam" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetMessagesRemoteRes", "fields": [ { "type": { "type": "array", "items": "MessageBoxed" }, "name": "msgs" }, { "type": "ConversationMembersType", "name": "membersType" }, { "type": "keybase1.TLFVisibility", "name": "visibility" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "MarkAsReadRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "SetConversationStatusRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetPublicConversationsRes", "fields": [ { "type": { "type": "array", "items": "Conversation" }, "name": "conversations" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetUnreadlineRemoteRes", "fields": [ { "type": [ null, "MessageID" ], "name": "unreadlineID" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "enum", "name": "ChannelMention", "symbols": [ "NONE_0", "ALL_1", "HERE_2" ] }, { "type": "record", "name": "UnreadUpdateFull", "fields": [ { "type": "boolean", "name": "ignore" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "SyncInboxResType", "name": "inboxSyncStatus" }, { "type": { "type": "array", "items": "UnreadUpdate" }, "name": "updates" } ] }, { "type": "record", "name": "S3Params", "fields": [ { "type": "string", "name": "bucket" }, { "type": "string", "name": "objectKey" }, { "type": "string", "name": "accessKey" }, { "type": "string", "name": "acl" }, { "type": "string", "name": "regionName" }, { "type": "string", "name": "regionEndpoint" }, { "type": "string", "name": "regionBucketEndpoint" }, { "type": "string", "name": "token" } ] }, { "type": "record", "name": "SyncIncrementalRes", "fields": [ { "type": "InboxVers", "name": "vers" }, { "type": { "type": "array", "items": "Conversation" }, "name": "convs" } ] }, { "type": "record", "name": "ServerCacheVers", "fields": [ { "type": "int", "name": "inboxVers" }, { "type": "int", "name": "bodiesVers" } ] }, { "type": "variant", "name": "SyncInboxRes", "switch": { "type": "SyncInboxResType", "name": "typ" }, "cases": [ { "label": { "name": "CURRENT", "def": false }, "body": null }, { "label": { "name": "INCREMENTAL", "def": false }, "body": "SyncIncrementalRes" }, { "label": { "name": "CLEAR", "def": false }, "body": null } ] }, { "type": "record", "name": "SyncChatRes", "fields": [ { "type": "ServerCacheVers", "name": "cacheVers" }, { "type": "SyncInboxRes", "name": "inboxRes" } ] }, { "type": "enum", "name": "SyncAllProtVers", "symbols": [ "V0_0", "V1_1" ] }, { "type": "enum", "name": "SyncAllNotificationType", "symbols": [ "STATE_0", "INCREMENTAL_1" ] }, { "type": "variant", "name": "SyncAllNotificationRes", "switch": { "type": "SyncAllNotificationType", "name": "typ" }, "cases": [ { "label": { "name": "STATE", "def": false }, "body": "gregor1.State" }, { "label": { "name": "INCREMENTAL", "def": false }, "body": "gregor1.SyncResult" } ] }, { "type": "record", "name": "SyncAllResult", "fields": [ { "type": "gregor1.AuthResult", "name": "auth" }, { "type": "SyncChatRes", "name": "chat" }, { "type": "SyncAllNotificationRes", "name": "notification" }, { "type": "UnreadUpdateFull", "name": "badge" } ] }, { "type": "record", "name": "JoinLeaveConversationRemoteRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "DeleteConversationRemoteRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "RemoveFromConversationRemoteRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetMessageBeforeRes", "fields": [ { "type": "MessageID", "name": "msgID" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetTLFConversationsRes", "fields": [ { "type": { "type": "array", "items": "Conversation" }, "name": "conversations" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "SetAppNotificationSettingsRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "SetRetentionRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "SetConvMinWriterRoleRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "SweepRes", "fields": [ { "type": "boolean", "name": "foundTask" }, { "type": "boolean", "name": "deletedMessages" }, { "type": "Expunge", "name": "expunge" } ] }, { "type": "record", "name": "ValidateTeamGitChatConvRes", "fields": [ { "type": "boolean", "name": "isActive" }, { "type": "TopicType", "name": "topicType" }, { "type": "ConversationMembersType", "name": "membersType" }, { "type": [ null, "keybase1.TeamID" ], "name": "teamID" } ] }, { "type": "record", "name": "ServerNowRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" }, { "type": "gregor1.Time", "name": "now" } ] }, { "type": "enum", "name": "ExternalAPIKeyTyp", "symbols": [ "GOOGLEMAPS_0", "GIPHY_1" ] }, { "type": "variant", "name": "ExternalAPIKey", "switch": { "type": "ExternalAPIKeyTyp", "name": "typ" }, "cases": [ { "label": { "name": "GOOGLEMAPS", "def": false }, "body": "string" }, { "label": { "name": "GIPHY", "def": false }, "body": "string" } ] }, { "type": "record", "name": "BotInfoHashVers", "fields": [], "typedef": "uint64", "lint": "ignore" }, { "type": "record", "name": "CommandConvVers", "fields": [], "typedef": "uint64", "lint": "ignore" }, { "type": "record", "name": "RemoteBotCommandsAdvertisementPublic", "fields": [ { "type": "ConversationID", "name": "convID" } ] }, { "type": "record", "name": "RemoteBotCommandsAdvertisementTLFID", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "TLFID", "name": "tlfID" } ] }, { "type": "record", "name": "RemoteBotCommandsAdvertisementConv", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "ConversationID", "name": "advertiseConvID" } ] }, { "type": "variant", "name": "RemoteBotCommandsAdvertisement", "switch": { "type": "BotCommandsAdvertisementTyp", "name": "typ" }, "cases": [ { "label": { "name": "PUBLIC", "def": false }, "body": "RemoteBotCommandsAdvertisementPublic" }, { "label": { "name": "TLFID_MEMBERS", "def": false }, "body": "RemoteBotCommandsAdvertisementTLFID" }, { "label": { "name": "TLFID_CONVS", "def": false }, "body": "RemoteBotCommandsAdvertisementTLFID" }, { "label": { "name": "CONV", "def": false }, "body": "RemoteBotCommandsAdvertisementConv" } ] }, { "type": "record", "name": "BotCommandConv", "fields": [ { "type": "gregor1.UID", "name": "uid" }, { "type": "keybase1.TeamRole", "name": "untrustedTeamRole" }, { "type": "ConversationID", "name": "convID" }, { "type": "CommandConvVers", "name": "vers" }, { "type": "gregor1.Time", "name": "mtime" }, { "type": "BotCommandsAdvertisementTyp", "name": "typ" } ] }, { "type": "record", "name": "BotInfo", "fields": [ { "type": "BotInfoHashVers", "name": "serverHashVers" }, { "type": "BotInfoHashVers", "name": "clientHashVers" }, { "type": { "type": "array", "items": "BotCommandConv" }, "name": "commandConvs" } ] }, { "type": "record", "name": "AdvertiseBotCommandsRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "RemoteClearBotCommandsFilterPublic", "fields": [] }, { "type": "record", "name": "RemoteClearBotCommandsFilterTLFID", "fields": [ { "type": "TLFID", "name": "tlfID" } ] }, { "type": "record", "name": "RemoteClearBotCommandsFilterConv", "fields": [ { "type": "ConversationID", "name": "convID" } ] }, { "type": "variant", "name": "RemoteClearBotCommandsFilter", "switch": { "type": "BotCommandsAdvertisementTyp", "name": "typ" }, "cases": [ { "label": { "name": "PUBLIC", "def": false }, "body": "RemoteClearBotCommandsFilterPublic" }, { "label": { "name": "TLFID_MEMBERS", "def": false }, "body": "RemoteClearBotCommandsFilterTLFID" }, { "label": { "name": "TLFID_CONVS", "def": false }, "body": "RemoteClearBotCommandsFilterTLFID" }, { "label": { "name": "CONV", "def": false }, "body": "RemoteClearBotCommandsFilterConv" } ] }, { "type": "record", "name": "ClearBotCommandsRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "enum", "name": "BotInfoResponseTyp", "symbols": [ "UPTODATE_0", "INFO_1" ] }, { "type": "variant", "name": "BotInfoResponse", "switch": { "type": "BotInfoResponseTyp", "name": "typ" }, "cases": [ { "label": { "name": "UPTODATE", "def": false }, "body": null }, { "label": { "name": "INFO", "def": false }, "body": "BotInfo" } ] }, { "type": "record", "name": "GetBotInfoRes", "fields": [ { "type": "BotInfoResponse", "name": "response" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "BotInfoHash", "fields": [], "typedef": "bytes" }, { "type": "record", "name": "GetDefaultTeamChannelsRes", "fields": [ { "type": { "type": "array", "items": "ConversationID" }, "name": "convs" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "SetDefaultTeamChannelsRes", "fields": [ { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetRecentJoinsRes", "fields": [ { "type": "int", "name": "numJoins" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "RefreshParticipantsRemoteRes", "fields": [ { "type": "boolean", "name": "hashMatch" }, { "type": { "type": "array", "items": "gregor1.UID" }, "name": "uids" }, { "type": "string", "name": "hash" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "GetLastActiveAtRes", "fields": [ { "type": "gregor1.Time", "name": "lastActiveAt" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] }, { "type": "record", "name": "ResetConversationMember", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "gregor1.UID", "name": "uid" } ] }, { "type": "record", "name": "GetResetConversationsRes", "fields": [ { "type": { "type": "array", "items": "ResetConversationMember" }, "name": "resetConvs" }, { "type": [ null, "RateLimit" ], "name": "rateLimit" } ] } ], "messages": { "getInboxRemote": { "request": [ { "name": "vers", "type": "InboxVers" }, { "name": "query", "type": [ null, "GetInboxQuery" ] }, { "name": "pagination", "type": [ null, "Pagination" ] } ], "response": "GetInboxRemoteRes", "timeout_msec": 1200000 }, "getThreadRemote": { "request": [ { "name": "conversationID", "type": "ConversationID" }, { "name": "reason", "type": "GetThreadReason" }, { "name": "query", "type": [ null, "GetThreadQuery" ] }, { "name": "pagination", "type": [ null, "Pagination" ] } ], "response": "GetThreadRemoteRes" }, "getUnreadlineRemote": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "readMsgID", "type": "MessageID" } ], "response": "GetUnreadlineRemoteRes" }, "getPublicConversations": { "request": [ { "name": "tlfID", "type": "TLFID" }, { "name": "topicType", "type": "TopicType" }, { "name": "summarizeMaxMsgs", "type": "boolean" } ], "response": "GetPublicConversationsRes" }, "postRemote": { "request": [ { "name": "conversationID", "type": "ConversationID" }, { "name": "messageBoxed", "type": "MessageBoxed" }, { "name": "atMentions", "type": { "type": "array", "items": "gregor1.UID" } }, { "name": "channelMention", "type": "ChannelMention" }, { "name": "topicNameState", "type": [ null, "TopicNameState" ] }, { "name": "joinMentionsAs", "type": [ null, "ConversationMemberStatus" ] } ], "response": "PostRemoteRes" }, "newConversationRemote": { "request": [ { "name": "idTriple", "type": "ConversationIDTriple" } ], "response": "NewConversationRemoteRes" }, "newConversationRemote2": { "request": [ { "name": "idTriple", "type": "ConversationIDTriple" }, { "name": "TLFMessage", "type": "MessageBoxed" }, { "name": "membersType", "type": "ConversationMembersType" }, { "name": "topicNameState", "type": [ null, "TopicNameState" ] }, { "name": "memberSourceConv", "type": [ null, "ConversationID" ] }, { "name": "retentionPolicy", "type": [ null, "RetentionPolicy" ] } ], "response": "NewConversationRemoteRes", "lint": "ignore" }, "getMessagesRemote": { "request": [ { "name": "conversationID", "type": "ConversationID" }, { "name": "threadReason", "type": [ null, "GetThreadReason" ] }, { "name": "messageIDs", "type": { "type": "array", "items": "MessageID" } } ], "response": "GetMessagesRemoteRes" }, "markAsRead": { "request": [ { "name": "conversationID", "type": "ConversationID" }, { "name": "msgID", "type": "MessageID" }, { "name": "forceUnread", "type": "boolean" } ], "response": "MarkAsReadRes" }, "SetConversationStatus": { "request": [ { "name": "conversationID", "type": "ConversationID" }, { "name": "status", "type": "ConversationStatus" } ], "response": "SetConversationStatusRes", "lint": "ignore" }, "GetUnreadUpdateFull": { "request": [ { "name": "inboxVers", "type": "InboxVers" } ], "response": "UnreadUpdateFull", "lint": "ignore" }, "getS3Params": { "request": [ { "name": "conversationID", "type": "ConversationID" }, { "name": "tempCreds", "type": "boolean" } ], "response": "S3Params" }, "s3Sign": { "request": [ { "name": "version", "type": "int" }, { "name": "payload", "type": "bytes" }, { "name": "tempCreds", "type": "boolean" } ], "response": "bytes" }, "getInboxVersion": { "request": [ { "name": "uid", "type": "gregor1.UID" } ], "response": "InboxVers" }, "syncInbox": { "request": [ { "name": "vers", "type": "InboxVers" } ], "response": "SyncInboxRes" }, "syncChat": { "request": [ { "name": "vers", "type": "InboxVers" }, { "name": "summarizeMaxMsgs", "type": "boolean" }, { "name": "participantsMode", "type": "InboxParticipantsMode" } ], "response": "SyncChatRes" }, "syncAll": { "request": [ { "name": "uid", "type": "gregor1.UID" }, { "name": "deviceID", "type": "gregor1.DeviceID" }, { "name": "session", "type": "gregor1.SessionToken" }, { "name": "inboxVers", "type": "InboxVers" }, { "name": "ctime", "type": "gregor1.Time" }, { "name": "fresh", "type": "boolean" }, { "name": "protVers", "type": "SyncAllProtVers" }, { "name": "hostName", "type": "string" }, { "name": "summarizeMaxMsgs", "type": "boolean" }, { "name": "participantsMode", "type": "InboxParticipantsMode" } ], "response": "SyncAllResult", "compression_type": "msgpackzip" }, "tlfFinalize": { "request": [ { "name": "tlfID", "type": "TLFID" }, { "name": "resetUser", "type": "string" }, { "name": "resetDate", "type": "string" }, { "name": "resetTimestamp", "type": "gregor1.Time" }, { "name": "resetFull", "type": "string" }, { "name": "resetUID", "type": [ null, "keybase1.UID" ] } ], "response": null }, "tlfResolve": { "request": [ { "name": "tlfID", "type": "TLFID" }, { "name": "resolvedWriters", "type": { "type": "array", "items": "gregor1.UID" } }, { "name": "resolvedReaders", "type": { "type": "array", "items": "gregor1.UID" } } ], "response": null }, "updateTypingRemote": { "request": [ { "name": "uid", "type": "gregor1.UID" }, { "name": "deviceID", "type": "gregor1.DeviceID" }, { "name": "convID", "type": "ConversationID" }, { "name": "typing", "type": "boolean" } ], "response": null }, "joinConversation": { "request": [ { "name": "convID", "type": "ConversationID" } ], "response": "JoinLeaveConversationRemoteRes" }, "leaveConversation": { "request": [ { "name": "convID", "type": "ConversationID" } ], "response": "JoinLeaveConversationRemoteRes" }, "previewConversation": { "request": [ { "name": "convID", "type": "ConversationID" } ], "response": "JoinLeaveConversationRemoteRes" }, "deleteConversation": { "request": [ { "name": "convID", "type": "ConversationID" } ], "response": "DeleteConversationRemoteRes" }, "removeFromConversation": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "users", "type": { "type": "array", "items": "gregor1.UID" } } ], "response": "RemoveFromConversationRemoteRes" }, "getMessageBefore": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "age", "type": "gregor1.DurationSec" } ], "response": "GetMessageBeforeRes" }, "getTLFConversations": { "request": [ { "name": "tlfID", "type": "TLFID" }, { "name": "topicType", "type": "TopicType" }, { "name": "summarizeMaxMsgs", "type": "boolean" } ], "response": "GetTLFConversationsRes" }, "setAppNotificationSettings": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "settings", "type": "ConversationNotificationInfo" } ], "response": "SetAppNotificationSettingsRes" }, "setGlobalAppNotificationSettings": { "request": [ { "name": "settings", "type": "GlobalAppNotificationSettings" } ], "response": null }, "getGlobalAppNotificationSettings": { "request": [], "response": "GlobalAppNotificationSettings" }, "remoteNotificationSuccessful": { "request": [ { "name": "authToken", "type": "gregor1.SessionToken" }, { "name": "companionPushIDs", "type": { "type": "array", "items": "string" } } ], "response": null, "compression_type": "none" }, "setConvRetention": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "policy", "type": "RetentionPolicy" }, { "name": "sweepChannel", "type": "uint64" } ], "response": "SetRetentionRes" }, "setTeamRetention": { "request": [ { "name": "teamID", "type": "keybase1.TeamID" }, { "name": "policy", "type": "RetentionPolicy" }, { "name": "sweepChannel", "type": "uint64" } ], "response": "SetRetentionRes" }, "setConvMinWriterRole": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "role", "type": "keybase1.TeamRole" } ], "response": "SetConvMinWriterRoleRes" }, "retentionSweepConv": { "request": [ { "name": "convID", "type": "ConversationID" } ], "response": "SweepRes" }, "upgradeKBFSToImpteam": { "request": [ { "name": "tlfID", "type": "TLFID" }, { "name": "teamID", "type": "keybase1.TeamID" } ], "response": null }, "registerSharePost": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "deviceID", "type": "gregor1.DeviceID" }, { "name": "outboxID", "type": "OutboxID" } ], "response": null }, "failSharePost": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "deviceID", "type": "gregor1.DeviceID" }, { "name": "outboxID", "type": "OutboxID" } ], "response": null }, "broadcastGregorMessageToConv": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "msg", "type": "gregor1.Message" } ], "response": null }, "teamIDOfConv": { "request": [ { "name": "convID", "type": "ConversationID" } ], "response": [ null, "keybase1.TeamID" ] }, "validateTeamGitChatConv": { "request": [ { "name": "teamID", "type": "keybase1.TeamID" }, { "name": "convID", "type": "ConversationID" } ], "response": "ValidateTeamGitChatConvRes" }, "serverNow": { "request": [], "response": "ServerNowRes" }, "getExternalAPIKeys": { "request": [ { "name": "typs", "type": { "type": "array", "items": "ExternalAPIKeyTyp" } } ], "response": { "type": "array", "items": "ExternalAPIKey" } }, "advertiseBotCommands": { "request": [ { "name": "ads", "type": { "type": "array", "items": "RemoteBotCommandsAdvertisement" } } ], "response": "AdvertiseBotCommandsRes" }, "clearBotCommands": { "request": [ { "name": "filter", "type": [ null, "RemoteClearBotCommandsFilter" ] } ], "response": "ClearBotCommandsRes" }, "getBotInfo": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "infoHash", "type": "BotInfoHash" }, { "name": "clientHashVers", "type": "BotInfoHashVers" } ], "response": "GetBotInfoRes" }, "getDefaultTeamChannels": { "request": [ { "name": "teamID", "type": "keybase1.TeamID" } ], "response": "GetDefaultTeamChannelsRes" }, "setDefaultTeamChannels": { "request": [ { "name": "teamID", "type": "keybase1.TeamID" }, { "name": "convs", "type": { "type": "array", "items": "ConversationID" } } ], "response": "SetDefaultTeamChannelsRes" }, "getRecentJoins": { "request": [ { "name": "convID", "type": "ConversationID" } ], "response": "GetRecentJoinsRes" }, "refreshParticipantsRemote": { "request": [ { "name": "convID", "type": "ConversationID" }, { "name": "hash", "type": "string" } ], "response": "RefreshParticipantsRemoteRes" }, "getLastActiveAt": { "request": [ { "name": "teamID", "type": "keybase1.TeamID" }, { "name": "uid", "type": "gregor1.UID" } ], "response": "GetLastActiveAtRes" }, "getResetConversations": { "request": [], "response": "GetResetConversationsRes" } }, "namespace": "chat.1", "compression_type": "gzip" }