overpush/proto/alert.proto

18 lines
303 B
Protocol Buffer
Raw Normal View History

2023-05-25 04:05:34 +00:00
syntax = 'proto3';
package overpush;
option go_package = '.;pb';
enum AlertType {
AlertTypeInvalid = 0;
AlertTypeMessage = 1;
AlertTypeMessageWithTitle = 2;
AlertTypeMessageWithAttachment = 3;
}
message Alert {
string title = 3;
string text = 4;
bytes attachment = 5;
}