Properly handle long message attachments for edited messages

This commit is contained in:
Scott Nonnenberg 2024-01-30 13:22:23 -08:00 committed by GitHub
parent 4daa1e4569
commit 304287efef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 114 additions and 19 deletions

1
ts/model-types.d.ts vendored
View file

@ -119,6 +119,7 @@ export type MessageReactionType = {
export type EditHistoryType = {
attachments?: Array<AttachmentType>;
body?: string;
bodyAttachment?: AttachmentType;
bodyRanges?: ReadonlyArray<RawBodyRange>;
preview?: Array<LinkPreviewType>;
quote?: QuotedMessageType;