zen/schemas/proto/notify/v1/notify.proto
2024-08-22 09:18:44 +07:00

20 lines
445 B
Protocol Buffer

syntax = "proto3";
package notify.v1;
import "notify/v1/send_notification.proto";
service NotifyService {
rpc SendNotification(SendNotificationRequest) returns (SendNotificationResponse);
rpc SendAttachment(stream SendAttachmentRequest) returns (SendAttachmentResponse);
}
message SendAttachmentRequest {
string notification_id = 1;
string name = 2;
string content_type = 3;
bytes chunk = 4;
}
message SendAttachmentResponse {}