Files
opengram/source/src/MyTelegram.GrpcService/Protos/chatservice.proto
T
2026-06-05 00:53:35 +03:00

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