JOBot/Proto/user.proto
2025-05-01 19:58:33 +03:00

17 lines
318 B
Protocol Buffer

syntax = "proto3";
option csharp_namespace = "JOBot.Proto";
service User {
rpc Register (RegisterRequest) returns (RegisterResponse);
}
import "google/protobuf/wrappers.proto";
message RegisterRequest{
int64 user_id = 1;
google.protobuf.StringValue username = 2;
}
message RegisterResponse{
bool success = 1;
}