GetGuild method
Future<GetGuildResponse>
GetGuild(
- GetGuildRequest input, {
- Map<
String, String> headers = const {},
Implementation
Future<GetGuildResponse> GetGuild(GetGuildRequest input, {Map<String,String> headers = const {}}) async {
var response = await $http.post(this.server.replace(path: "/protocol.chat.v1.ChatService/GetGuild"), body: input.writeToBuffer(), headers: {"content-type": "application/hrpc"}..addAll(headers)..addAll(this.commonHeaders));
if (response.statusCode != 200) { throw response; }
return GetGuildResponse.fromBuffer(response.bodyBytes);
}