Exemple #1
0
 public static Task <DingTalkApiResult> SendMarkdownAsync(this IDingTalkGoClient client, string title, string text, string[] atMobiles)
 {
     return(client.SendMarkdownAsync(new MarkdownMessage(title, text)
     {
         AtMobiles = atMobiles
     }));
 }
Exemple #2
0
 public static Task <DingTalkApiResult> SendMarkdownAsync(this IDingTalkGoClient client, string title, string text, bool isAtAll = false)
 {
     return(client.SendMarkdownAsync(new MarkdownMessage(title, text)
     {
         IsAtAll = isAtAll
     }));
 }
Exemple #3
0
        public async Task SendMarkdownTest()
        {
            var result = await _dingTalkGoClient.SendMarkdownAsync("markdown message", "# title");

            Assert.True(result.Success);
        }