Page MenuHomePhabricator

D4985.id16136.diff
No OneTemporary

D4985.id16136.diff

diff --git a/lib/types/messages/media.js b/lib/types/messages/media.js
--- a/lib/types/messages/media.js
+++ b/lib/types/messages/media.js
@@ -26,3 +26,14 @@
time: number, // millisecond timestamp
media: $ReadOnlyArray<Media>,
};
+
+export type MediaMessageServerDBContent =
+ | {
+ +type: 'photo',
+ +uploadID: string,
+ }
+ | {
+ +type: 'video',
+ +uploadID: string,
+ +thumbnailUploadID: string,
+ };

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 5:48 AM (20 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2583157
Default Alt Text
D4985.id16136.diff (445 B)

Event Timeline