Adaptive Card response from a WaterfallStep Dialog MS Bot framework v4

前端 未结 3 2006
Happy的楠姐
Happy的楠姐 2021-01-13 05:25

I am trying to send an adaptive card which has 2 options for user to select. When user submit the response from adaptive card I am receiving :

Newtonsoft.Jso         


        
3条回答
  •  无人及你
    2021-01-13 05:43

    Hit this issue today. This looks like a known issue and there is a workaround available on GitHub

    Attachment attachment = new Attachment()
    {
    ContentType = AdaptiveCard.ContentType,
    Content = JsonConvert.DeserializeObject(JsonConvert.SerializeObject(AdpCard)),
    };
    

    https://github.com/Microsoft/AdaptiveCards/issues/2148#issuecomment-462708622

提交回复
热议问题