Example #1
0
        /// <summary>
        /// Sends a message to the user over the trade chat.
        /// </summary>
        public bool SendMessage(string msg)
        {
            bool ok = session.SendMessageWebCmd(msg);

            if (!ok)
            {
                throw new TradeException("The web command to send the trade message failed.");
            }

            return(true);
        }
Example #2
0
 /// <summary>
 /// Sends a message to the user over the trade chat.
 /// </summary>
 public bool SendMessage(string msg)
 {
     return(RetryWebRequest(() => session.SendMessageWebCmd(msg)));
 }