aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/protobuf/telegram.proto
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-11-12 12:03:15 +0000
committerterminaldweller <thabogre@gmail.com>2021-11-12 12:03:15 +0000
commit3c24c7ba319e277414455d68360043e155d7a3ca (patch)
tree3df683631f75eca74f77006b3d5eb3cb3e3f188c /telebot/protobuf/telegram.proto
parentchanged the module name (diff)
downloadgrpc-3c24c7ba319e277414455d68360043e155d7a3ca.tar.gz
grpc-3c24c7ba319e277414455d68360043e155d7a3ca.zip
updates and fixesv1.0.0
Diffstat (limited to 'telebot/protobuf/telegram.proto')
-rw-r--r--telebot/protobuf/telegram.proto22
1 files changed, 0 insertions, 22 deletions
diff --git a/telebot/protobuf/telegram.proto b/telebot/protobuf/telegram.proto
deleted file mode 100644
index d01fa9a..0000000
--- a/telebot/protobuf/telegram.proto
+++ /dev/null
@@ -1,22 +0,0 @@
-syntax= "proto3";
-package hived;
-
-import "google/protobuf/timestamp.proto";
-option go_package ="github.com/terminaldweller/grpc/telebot/protobuf/telegram.pb.go";
-
-message NotificationRequest {
- reserved 4 to 7;
- string notificationText = 1;
- int64 channel_id = 2;
- google.protobuf.Timestamp request_time = 3;
-}
-
-message NotificationResponse {
- reserved 3 to 6;
- string error = 2;
- bool isOK = 1;
-}
-
-service NotificationService {
- rpc Notify(NotificationRequest) returns (NotificationResponse);
-}