gmessages/libgm/gmproto/media.proto
2023-07-17 16:51:31 +03:00

22 lines
376 B
Protocol Buffer

syntax = "proto3";
package media;
option go_package = "../gmproto";
import "messages.proto";
message StartMediaUploadPayload {
int64 imageType = 1;
messages.AuthMessage authData = 2;
messages.Device mobile = 3;
}
message UploadMediaResponse {
Media media = 1;
string message = 2;
}
message Media {
string mediaID = 1;
int64 mediaNumber = 2;
}