public bool MarkAsRead(string msg_ids)
{
this.Manager.Method("messages.markAsRead");
this.Manager.Params("mids", msg_ids);
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;
}