ThumbnailCard Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A thumbnail card (card with a single, small thumbnail image).
public class ThumbnailCard : Microsoft.Agents.Core.Models.Card
type ThumbnailCard = class
inherit Card
Public Class ThumbnailCard
Inherits Card
- Inheritance
Constructors
| Name | Description |
|---|---|
| ThumbnailCard() | |
| ThumbnailCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction) |
Initializes a new instance of ThumbnailCard. |
Fields
| Name | Description |
|---|---|
| ContentType |
The content type value of a ThumbnailCard. |
Properties
| Name | Description |
|---|---|
| Buttons |
Set of actions applicable to the current card. |
| Images |
Array of images for the card. |
| Subtitle |
Subtitle of the card. |
| Tap |
A clickable action. |
| Text |
Text for the card. |
| Title |
Title of the card. |
Methods
| Name | Description |
|---|---|
| AddButton(CardAction) |
Adds a button and returns this card. |
| AddButton(String, String, Object) |
Adds a button by title/type/value and returns this card. |
| AddButtons(CardAction[]) |
Adds one or more buttons and returns this card. |
| AddImage(CardImage) |
Adds an image and returns this card. |
| AddImage(String, String) |
Adds an image by URL and returns this card. |
| ToAttachment() |
Creates a new attachment from ThumbnailCard. |
| ToMessage() |
Creates a new message activity that includes this card as an attachment. (Inherited from Card) |
Extension Methods
| Name | Description |
|---|---|
| ToTeamsAttachment(ThumbnailCard) |
Wraps a |