/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/chat1/gregor.json
591 строка
11 KB
Joshua Blum
nuke channels changed (#22671)
20 фев 2020, 21:34
Не верифицирован
20 фев 2020, 21:34
bf515f2
Код
Авторство
О чём код?
{ "protocol": "gregor", "imports": [ { "path": "../gregor1", "type": "idl", "import_as": "gregor1" }, { "path": "../keybase1", "type": "idl", "import_as": "keybase1" } ], "types": [ { "type": "record", "name": "GenericPayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "ConversationID", "name": "convID" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" } ] }, { "type": "record", "name": "NewConversationPayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "ConversationID", "name": "convID" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" } ] }, { "type": "record", "name": "NewMessagePayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "ConversationID", "name": "convID" }, { "type": "MessageBoxed", "name": "message" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" }, { "type": "keybase1.TeamRole", "name": "untrustedTeamRole" }, { "type": { "type": "array", "items": "MessageSummary" }, "name": "maxMsgs" } ] }, { "type": "record", "name": "ReadMessagePayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "ConversationID", "name": "convID" }, { "type": "MessageID", "name": "msgID" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" } ] }, { "type": "record", "name": "SetStatusPayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "ConversationID", "name": "convID" }, { "type": "ConversationStatus", "name": "status" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" } ] }, { "type": "record", "name": "TeamTypePayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "ConversationID", "name": "convID" }, { "type": "TeamType", "name": "teamType" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" } ] }, { "type": "record", "name": "SetAppNotificationSettingsPayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "ConversationID", "name": "convID" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "ConversationNotificationInfo", "name": "settings" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" } ] }, { "type": "record", "name": "ExpungePayload", "fields": [ { "type": "string", "name": "Action", "lint": "ignore" }, { "type": "ConversationID", "name": "convID" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "Expunge", "name": "expunge" }, { "type": { "type": "array", "items": "MessageSummary" }, "name": "maxMsgs" }, { "type": "TopicType", "name": "topicType" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" } ] }, { "type": "record", "name": "UnreadUpdate", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "int", "name": "unreadMessages" }, { "type": { "type": "map", "values": "int", "keys": "keybase1.DeviceType" }, "name": "unreadNotifyingMessages" }, { "type": "int", "name": "compatUnreadMessages", "mpackkey": "UnreadMessages", "jsonkey": "UnreadMessages" }, { "type": "boolean", "name": "diff" } ] }, { "type": "record", "name": "TLFFinalizeUpdate", "fields": [ { "type": "ConversationFinalizeInfo", "name": "finalizeInfo" }, { "type": { "type": "array", "items": "ConversationID" }, "name": "convIDs" }, { "type": "InboxVers", "name": "inboxVers" } ] }, { "type": "record", "name": "TLFResolveUpdate", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "InboxVers", "name": "inboxVers" } ] }, { "type": "record", "name": "RemoteUserTypingUpdate", "fields": [ { "type": "gregor1.UID", "name": "uid" }, { "type": "gregor1.DeviceID", "name": "deviceID" }, { "type": "ConversationID", "name": "convID" }, { "type": "boolean", "name": "typing" }, { "type": "TeamType", "name": "teamType", "mpackkey": "t" } ] }, { "type": "record", "name": "TeamMemberRoleUpdate", "fields": [ { "type": "TLFID", "name": "tlfID" }, { "type": "keybase1.TeamRole", "name": "role" } ] }, { "type": "record", "name": "UpdateConversationMembership", "fields": [ { "type": "InboxVers", "name": "inboxVers" }, { "type": [ null, "TeamMemberRoleUpdate" ], "name": "teamMemberRoleUpdate" }, { "type": { "type": "array", "items": "ConversationMember" }, "name": "joined" }, { "type": { "type": "array", "items": "ConversationMember" }, "name": "removed" }, { "type": { "type": "array", "items": "ConversationMember" }, "name": "reset" }, { "type": { "type": "array", "items": "ConversationID" }, "name": "previewed" }, { "type": [ null, "UnreadUpdate" ], "name": "unreadUpdate" }, { "type": { "type": "array", "items": "UnreadUpdate" }, "name": "unreadUpdates" } ] }, { "type": "record", "name": "ConversationUpdate", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "ConversationExistence", "name": "existence" } ] }, { "type": "record", "name": "UpdateConversations", "fields": [ { "type": "InboxVers", "name": "inboxVers" }, { "type": { "type": "array", "items": "ConversationUpdate" }, "name": "convUpdates" } ] }, { "type": "record", "name": "SetConvRetentionUpdate", "fields": [ { "type": "InboxVers", "name": "inboxVers" }, { "type": "ConversationID", "name": "convID" }, { "type": "RetentionPolicy", "name": "policy" } ] }, { "type": "record", "name": "SetTeamRetentionUpdate", "fields": [ { "type": "InboxVers", "name": "inboxVers" }, { "type": "keybase1.TeamID", "name": "teamID" }, { "type": "RetentionPolicy", "name": "policy" } ] }, { "type": "record", "name": "SetConvSettingsUpdate", "fields": [ { "type": "InboxVers", "name": "inboxVers" }, { "type": "ConversationID", "name": "convID" }, { "type": [ null, "ConversationSettings" ], "name": "convSettings" } ] }, { "type": "record", "name": "KBFSImpteamUpgradeUpdate", "fields": [ { "type": "ConversationID", "name": "convID" }, { "type": "InboxVers", "name": "inboxVers" }, { "type": "TopicType", "name": "topicType" } ] }, { "type": "record", "name": "SubteamRenameUpdate", "fields": [ { "type": { "type": "array", "items": "ConversationID" }, "name": "convIDs" }, { "type": "InboxVers", "name": "inboxVers" } ] } ], "messages": {}, "namespace": "chat.1" }