Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33337723
D4985.1768909213.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
440 B
Referenced Files
None
Subscribers
None
D4985.1768909213.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, Jan 20, 11:40 AM (13 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5960662
Default Alt Text
D4985.1768909213.diff (440 B)
Attached To
Mode
D4985: [lib] Introduce `MediaMessageServerDBContent` type
Attached
Detach File
Event Timeline
Log In to Comment