gmessages/libgm/gmproto/media.proto

23 lines
376 B
Protocol Buffer
Raw Normal View History

2023-06-30 09:54:08 +00:00
syntax = "proto3";
package media;
2023-07-17 13:51:31 +00:00
option go_package = "../gmproto";
2023-06-30 09:54:08 +00:00
import "messages.proto";
message StartMediaUploadPayload {
int64 imageType = 1;
messages.AuthMessage authData = 2;
2023-06-30 09:54:08 +00:00
messages.Device mobile = 3;
}
message UploadMediaResponse {
Media media = 1;
string message = 2;
}
message Media {
2023-06-30 13:26:46 +00:00
string mediaID = 1;
2023-06-30 09:54:08 +00:00
int64 mediaNumber = 2;
}