Skip to content

Variable: cardAttachmentSchema

const cardAttachmentSchema: ZodObject<{ content: ZodObject<{ $schema: ZodString; actions: ZodOptional<ZodArray<ZodRecord<ZodString, ZodUnknown>>>; body: ZodArray<ZodRecord<ZodString, ZodUnknown>>; type: ZodLiteral<"AdaptiveCard">; version: ZodString; }, $strip>; contentType: ZodLiteral<"application/vnd.microsoft.card.adaptive">; }, $strip>

An Adaptive Card attachment - how a card reaches a Teams client. The card document lives under content, tagged by contentType.