Receive support for editing messages
This commit is contained in:
parent
2781e621ad
commit
36e21c0134
46 changed files with 2053 additions and 405 deletions
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue