Example #1
0
        public async Task SendSingleActionCardTest()
        {
            var result = await _dingTalkGoClient.SendSingleActionCardAsync(new SingleActionCardMessage("title", "content", "singleTitle", "https://cn.bing.com/az/hprichbg/rb/TeRewaRewa_ZH-CN9356115127_1920x1080.jpg")
            {
                BtnOrientation = Orientation.Vertical,
                HideAvatar     = false
            });

            Assert.True(result.Success);
        }