overpush/proto/alert.proto

18 lines
303 B
Protocol Buffer

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;
}