public int Send(int userId, string message, string title, MessageAttachment[] attachments)
 {
     return this.Send(userId, null, title, message,  attachments , null, SendMessageType.StandardMessage);
 }
        /// <summary>
        /// Send personal message
        /// </summary>
        /// <param name="userId">user id if no chat id presented</param>
        /// <param name="chatId">chat id if no user id presented</param>
        /// <param name="title">message title</param>
        /// <param name="message">message body</param>
        /// <param name="attachment">attachment</param>
        /// <param name="forwardMessages">list of messages ids to forwarding</param>
        /// <param name="type">message type</param>
        /// <returns>id of message that was sended</returns>
        public int Send(int? userId, int? chatId, string title, string message, MessageAttachment[] attachment, int?[] forwardMessages, SendMessageType? type)
        {
            this.Manager.Method("messages.send",
                                    new object[] { "uid", userId,
                                        "chat_id", chatId,
                                        "title", title,
                                        "message", message,
                                        "attachment", attachment,
                                        "forward_messages", forwardMessages,
                                        "type", (int)type });

            XmlDocument x = this.Manager.Execute().GetResponseXml();
            return Convert.ToInt32(x.InnerText);
        }