17 lines
299 B
Protocol Buffer
17 lines
299 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package proto.email.v1;
|
|
|
|
import "google/protobuf/empty.proto";
|
|
|
|
service EmailService {
|
|
rpc SendEmail (SendEmailRequest) returns (google.protobuf.Empty);
|
|
}
|
|
|
|
message SendEmailRequest {
|
|
string token = 1;
|
|
repeated int32 user_ids = 2;
|
|
string subject = 3;
|
|
string body = 4;
|
|
}
|