mirror of
https://github.com/opengram-server/opengram.git
synced 2026-09-15 06:54:15 +03:00
18 lines
365 B
Protocol Buffer
18 lines
365 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace="MyTelegram.GrpcService";
|
|
|
|
package MyTelegram.GrpcService;
|
|
|
|
service ChatService{
|
|
rpc GetChannel(.MyTelegram.GrpcService.GetChannelRequest) returns(.MyTelegram.GrpcService.GetChannelResponse);
|
|
}
|
|
|
|
message GetChannelRequest{
|
|
int64 ChannelId=1;
|
|
int64 SelfUserId=2;
|
|
}
|
|
|
|
message GetChannelResponse{
|
|
bytes ChannelData=1;
|
|
} |