Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3364922
D4985.id16136.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
445 B
Referenced Files
None
Subscribers
None
D4985.id16136.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4985: [lib] Introduce `MediaMessageServerDBContent` type
Attached
Detach File
Event Timeline
Log In to Comment