You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
456 B
C#
22 lines
456 B
C#
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<TextMessage>(textMsg);
|
|
|
|
Assert.Equal(0, result.errcode);
|
|
}
|
|
}
|
|
}
|