mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 13:51:09 +01:00
Use new compact representations in protobufs
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
7
ts/textsecure/Types.d.ts
vendored
7
ts/textsecure/Types.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user