using System; using System.Collections.Generic; using System.Text; using Xunit; namespace Tianyi.DingtalkRobotKit.Test { public class SendMessageTest { [Fact] public void Test() { var textMsg = new TextMessage("明天是美好的一天"); textMsg.at.isAtAll = true; var result = SendMessage.Send(textMsg); Assert.Equal(0, result.errcode); } } }