syntax = "proto3"; package telegram; import "telegram.proto"; message UserResponse { bool ok = 1; string description = 2; // Optional int32 error_code = 3; // ok == false ResponseParameters parameters = 4; // ok == false User result = 5; // ok == true } message MessageResponse { bool ok = 1; string description = 2; // Optional int32 error_code = 3; // ok == false ResponseParameters parameters = 4; // ok == false Message result = 5; // ok == true } message UpdateResponse { bool ok = 1; string description = 2; // Optional int32 error_code = 3; // ok == false ResponseParameters parameters = 4; // ok == false repeated Update result = 5; // ok == true }