mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Receive support for editing messages
This commit is contained in:
10
ts/model-types.d.ts
vendored
10
ts/model-types.d.ts
vendored
@@ -120,6 +120,14 @@ export type MessageReactionType = {
|
||||
isSentByConversationId?: Record<string, boolean>;
|
||||
};
|
||||
|
||||
export type EditHistoryType = {
|
||||
attachments?: Array<AttachmentType>;
|
||||
body?: string;
|
||||
bodyRanges?: BodyRangesType;
|
||||
preview?: Array<LinkPreviewType>;
|
||||
timestamp: number;
|
||||
};
|
||||
|
||||
export type MessageAttributesType = {
|
||||
bodyAttachment?: AttachmentType;
|
||||
bodyRanges?: BodyRangesType;
|
||||
@@ -141,6 +149,8 @@ export type MessageAttributesType = {
|
||||
isErased?: boolean;
|
||||
isTapToViewInvalid?: boolean;
|
||||
isViewOnce?: boolean;
|
||||
editHistory?: Array<EditHistoryType>;
|
||||
editMessageTimestamp?: number;
|
||||
key_changed?: string;
|
||||
local?: boolean;
|
||||
logger?: unknown;
|
||||
|
||||
Reference in New Issue
Block a user