HeroCard Constructors
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.
Overloads
HeroCard() |
Initializes a new instance of the HeroCard class. |
HeroCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction) |
Initializes a new instance of the HeroCard class. |
HeroCard()
HeroCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction)
Initializes a new instance of the HeroCard class.
public HeroCard (string title = default, string subtitle = default, string text = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardImage> images = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> buttons = default, Microsoft.Bot.Schema.CardAction tap = default);
new Microsoft.Bot.Schema.HeroCard : string * string * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardImage> * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> * Microsoft.Bot.Schema.CardAction -> Microsoft.Bot.Schema.HeroCard
Public Sub New (Optional title As String = Nothing, Optional subtitle As String = Nothing, Optional text As String = Nothing, Optional images As IList(Of CardImage) = Nothing, Optional buttons As IList(Of CardAction) = Nothing, Optional tap As CardAction = Nothing)
Parameters
- title
- String
Title of the card.
- subtitle
- String
Subtitle of the card.
- text
- String
Text for the card.
- buttons
- IList<CardAction>
Set of actions applicable to the current card.
- tap
- CardAction
This action will be activated when user taps on the card itself.