You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the adaptivecard.NewSimpleMessage call we already know that a Card in msg.Attachments is present. While this allows us to safely take either of these approaches to add a new element to the first Card, it's not exactly ergonomic to do so.
Providing an AddElement method for the Message value would presumably make this scenario easier to work with.
The text was updated successfully, but these errors were encountered:
The method would add the given
Element
to the first card in the collection or an error if aCard
is not already present.The current alternatives:
or:
Because of the
adaptivecard.NewSimpleMessage
call we already know that aCard
inmsg.Attachments
is present. While this allows us to safely take either of these approaches to add a new element to the firstCard
, it's not exactly ergonomic to do so.Providing an
AddElement
method for theMessage
value would presumably make this scenario easier to work with.The text was updated successfully, but these errors were encountered: