public bool Restore(int msg_id)
{
this.Manager.Method("messages.restore");
this.Manager.Params("mid", msg_id);
string resp = this.Manager.Execute().GetResponseString();
if (this.Manager.MethodSuccessed)
{
XmlDocument x = this.Manager.GetXmlDocument(resp);
return ((x.SelectSingleNode("/response").InnerText.Equals("1")) ? true : false);
}
return false;
}