gmessages/libgm/binary/raw/media.proto

23 lines
378 B
Protocol Buffer
Raw Normal View History

2023-06-30 09:54:08 +00:00
syntax = "proto3";
package media;
option go_package = "../../binary";
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;
}