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