class TelegramResponse { protected: string lastError; char result[]; string headers; public: void TelegramResponse() { lastError = NULL; } void setLastError(string _lastError) { lastError = _lastError; } string getLastError() { return lastError; } void setResult(const char &_result[]) { ArrayCopy(result, _result); } void getResult(char &_result[]) { ArrayCopy(_result, result); } void setHeaders(string _headers) { headers = _headers; } string getHeaders() { return headers; } };