Occasional Contributor

I have created one teams messaging extension, and trying to pass array of adaptive card attachments on response to an action based command show multiple cards but its just picking up first card and ignored the rest of the cards.


let card = {
    type: "AdaptiveCard",
    version: "1.0",
    body: [{ type: "TextBlock"text: "Hiral" }],
  const adaptiveCard = CardFactory.adaptiveCard(card);

  const attachment1 = {
    contentType: adaptiveCard.contentType,
    content: adaptiveCard.content,
    preview: adaptiveCard,
  return {
    composeExtension: {
      type: "result",
      attachmentLayout: "list",
      attachments: [attachment1attachment2attachment3],
In above code whatever attachment I add first in array it shows that card only and ignores rest of the cards.