Microsoft.Bot.Connector.HeroCard Class Reference

A Hero card (card with a single, large image) More...

Public Member Functions

 HeroCard ()
 Initializes a new instance of the HeroCard class. More...
 
 HeroCard (string title=default(string), string subtitle=default(string), string text=default(string), IList< CardImage > images=default(IList< CardImage >), IList< CardAction > buttons=default(IList< CardAction >), CardAction tap=default(CardAction))
 Initializes a new instance of the HeroCard class. More...
 

Public Attributes

const string ContentType = "application/vnd.microsoft.card.hero"
 

Properties

IList< CardActionButtons [get, set]
 Set of actions applicable to the current card More...
 
IList< CardImageImages [get, set]
 Array of images for the card More...
 
string Subtitle [get, set]
 Subtitle of the card More...
 
CardAction Tap [get, set]
 This action will be activated when user taps on the card itself More...
 
string Text [get, set]
 Text for the card More...
 
string Title [get, set]
 Title of the card More...
 

Detailed Description

A Hero card (card with a single, large image)

Definition at line 14 of file AdditionalProperties.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.HeroCard.HeroCard ( )
inline

Initializes a new instance of the HeroCard class.

Definition at line 22 of file HeroCard.cs.

Microsoft.Bot.Connector.HeroCard.HeroCard ( string  title = default(string),
string  subtitle = default(string),
string  text = default(string),
IList< CardImage images = default(IList<CardImage>),
IList< CardAction buttons = default(IList<CardAction>),
CardAction  tap = default(CardAction) 
)
inline

Initializes a new instance of the HeroCard class.

Definition at line 27 of file HeroCard.cs.

Member Data Documentation

const string Microsoft.Bot.Connector.HeroCard.ContentType = "application/vnd.microsoft.card.hero"

Definition at line 16 of file AdditionalProperties.cs.

Property Documentation

IList<CardAction> Microsoft.Bot.Connector.HeroCard.Buttons
getset

Set of actions applicable to the current card

Definition at line 65 of file HeroCard.cs.

IList<CardImage> Microsoft.Bot.Connector.HeroCard.Images
getset

Array of images for the card

Definition at line 59 of file HeroCard.cs.

string Microsoft.Bot.Connector.HeroCard.Subtitle
getset

Subtitle of the card

Definition at line 47 of file HeroCard.cs.

CardAction Microsoft.Bot.Connector.HeroCard.Tap
getset

This action will be activated when user taps on the card itself

Definition at line 71 of file HeroCard.cs.

string Microsoft.Bot.Connector.HeroCard.Text
getset

Text for the card

Definition at line 53 of file HeroCard.cs.

string Microsoft.Bot.Connector.HeroCard.Title
getset

Title of the card

Definition at line 41 of file HeroCard.cs.


The documentation for this class was generated from the following files: