Sprog

Card Class

Definition

Base class for rich cards that can be sent to a user as an Attachment.

public abstract class Card
type Card = class
Public MustInherit Class Card
Inheritance
Card
Derived

Remarks

Each concrete card implements ToAttachment() to wrap itself in an attachment using its own content type. ToMessage() builds on that to produce a ready-to-send message activity.

Constructors

Name Description
Card()

Methods

Name Description
ToAttachment()

Creates a new Attachment that wraps this card.

ToMessage()

Creates a new message activity that includes this card as an attachment.

Applies to