Key Transparency

This commit is contained in:
Fedor Indutny
2026-01-28 12:40:51 -08:00
committed by GitHub
parent 0c7fcfdaef
commit b5d7179ae8
45 changed files with 1815 additions and 344 deletions

View File

@@ -1021,6 +1021,8 @@ type ReadableInterface = {
getAllMegaphones: () => ReadonlyArray<RemoteMegaphoneType>;
hasMegaphone: (megaphoneId: RemoteMegaphoneId) => boolean;
getKTAccountData: (aci: AciString) => Uint8Array | undefined;
getAllPinnedMessages: () => ReadonlyArray<PinnedMessage>;
getPinnedMessagesPreloadDataForConversation: (
conversationId: string
@@ -1393,6 +1395,8 @@ type WritableInterface = {
snoozeMegaphone: (megaphoneId: RemoteMegaphoneId) => void;
internalDeleteAllMegaphones: () => number;
setKTAccountData: (aci: AciString, data: Uint8Array) => void;
appendPinnedMessage: (
pinnedMessagesLimit: number,
pinnedMessageParams: PinnedMessageParams