Exemple #1
0
 public static Task <DingTalkApiResult> SendTextAsync(this IDingTalkGoClient client, string text, string[] atMobiles)
 {
     return(client.SendTextAsync(new TextMessage(text)
     {
         AtMobiles = atMobiles
     }));
 }
Exemple #2
0
 public static Task <DingTalkApiResult> SendTextAsync(this IDingTalkGoClient client, string text, bool isAtAll = false)
 {
     return(client.SendTextAsync(new TextMessage(text)
     {
         IsAtAll = isAtAll
     }));
 }
Exemple #3
0
        public async Task SendTextTest()
        {
            var result = await _dingTalkGoClient.SendTextAsync("hello world");

            Assert.True(result.Success);
        }