mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-15 07:49:27 +00:00
24 lines
436 B
Plaintext
24 lines
436 B
Plaintext
include "MediaId.fbs";
|
|
include "TelegramMediaFile.fbs";
|
|
include "TelegramMediaImage.fbs";
|
|
namespace TelegramCore;
|
|
|
|
union Media_Value {
|
|
Media_TelegramMediaFile,
|
|
Media_TelegramMediaImage
|
|
}
|
|
|
|
table Media {
|
|
value:Media_Value (id: 1, required);
|
|
}
|
|
|
|
table Media_TelegramMediaFile {
|
|
file:TelegramMediaFile (id: 0, required);
|
|
}
|
|
|
|
table Media_TelegramMediaImage {
|
|
image:TelegramMediaImage (id: 0, required);
|
|
}
|
|
|
|
root_type Media;
|