Use new compact representations in protobufs

Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
Fedor Indutny
2025-06-25 10:30:40 -07:00
committed by GitHub
parent 157496f822
commit 8251720444
64 changed files with 1000 additions and 459 deletions

View File

@@ -189,8 +189,6 @@ export type ProcessedBodyRange = RawBodyRange;
export type ProcessedGroupCallUpdate = Proto.DataMessage.IGroupCallUpdate;
export type ProcessedStoryContext = Proto.DataMessage.IStoryContext;
export type ProcessedGiftBadge = {
expiration: number;
id: string | undefined;
@@ -199,6 +197,11 @@ export type ProcessedGiftBadge = {
state: GiftBadgeStates;
};
export type ProcessedStoryContext = {
authorAci: AciString | undefined;
sentTimestamp: number;
};
export type ProcessedDataMessage = {
body?: string;
bodyAttachment?: ProcessedAttachment;