BasicCard 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
BasicCard() |
Initializes a new instance of the BasicCard class. |
BasicCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction) |
Initializes a new instance of the BasicCard class. |
BasicCard()
Initializes a new instance of the BasicCard class.
public BasicCard ();
Public Sub New ()
Applies to
BasicCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction)
Initializes a new instance of the BasicCard class.
public BasicCard (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.BasicCard : 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.BasicCard
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.