mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 09:07:46 +01:00
16 lines
330 B
Protocol Buffer
16 lines
330 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package nexus.hub.proto;
|
||
|
|
||
|
import "idm/api2/proto/chats_service.proto";
|
||
|
|
||
|
message SubmitRequest {
|
||
|
bytes telegram_document = 1;
|
||
|
string telegram_file_id = 2;
|
||
|
idm.api2.proto.ChatData chat = 3;
|
||
|
}
|
||
|
message SubmitResponse { }
|
||
|
|
||
|
service Submitter {
|
||
|
rpc submit(SubmitRequest) returns (SubmitResponse) {};
|
||
|
}
|