diff options
author | terminaldweller <thabogre@gmail.com> | 2021-11-12 12:40:09 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-11-12 12:40:09 +0000 |
commit | ab24cd7559922036ffe522344b6866b9539df718 (patch) | |
tree | 382b8754ca5aa437f0b0dfa78578bc440d760f18 /telebot/protobuf/v1/telegram.proto | |
parent | updates and fixes (diff) | |
download | grpc-1.0.1.tar.gz grpc-1.0.1.zip |
updates and fixesv1.0.1
Diffstat (limited to 'telebot/protobuf/v1/telegram.proto')
-rw-r--r-- | telebot/protobuf/v1/telegram.proto | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/telebot/protobuf/v1/telegram.proto b/telebot/protobuf/v1/telegram.proto deleted file mode 100644 index 9a8ab6f..0000000 --- a/telebot/protobuf/v1/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/v1"; - -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); -} |