/// <summary> /// Возвращает словарь параметров. /// </summary> public Dictionary <string, string> GetParameters() { var parameters = new Dictionary <string, string>() { { "posts", Posts } }; if (Extended != 0) { parameters["extended"] = Extended.ToString(); } if (CopyHistoryDepth != 2) { parameters["copy_history_depth"] = CopyHistoryDepth.ToString(); } return(parameters); }