Share via


O365ConnectorCardSection Constructors

Definition

Overloads

O365ConnectorCardSection()

Initializes a new instance of the O365ConnectorCardSection class.

O365ConnectorCardSection(String, String, String, String, String, String, String, Nullable<Boolean>, IList<O365ConnectorCardFact>, IList<O365ConnectorCardImage>, IList<O365ConnectorCardActionBase>)

Initializes a new instance of the O365ConnectorCardSection class.

O365ConnectorCardSection()

Initializes a new instance of the O365ConnectorCardSection class.

public O365ConnectorCardSection ();
Public Sub New ()

Applies to

O365ConnectorCardSection(String, String, String, String, String, String, String, Nullable<Boolean>, IList<O365ConnectorCardFact>, IList<O365ConnectorCardImage>, IList<O365ConnectorCardActionBase>)

Initializes a new instance of the O365ConnectorCardSection class.

public O365ConnectorCardSection (string title = default, string text = default, string activityTitle = default, string activitySubtitle = default, string activityText = default, string activityImage = default, string activityImageType = default, bool? markdown = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardFact> facts = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardImage> images = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardActionBase> potentialAction = default);
new Microsoft.Bot.Schema.Teams.O365ConnectorCardSection : string * string * string * string * string * string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardFact> * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardImage> * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.O365ConnectorCardActionBase> -> Microsoft.Bot.Schema.Teams.O365ConnectorCardSection
Public Sub New (Optional title As String = Nothing, Optional text As String = Nothing, Optional activityTitle As String = Nothing, Optional activitySubtitle As String = Nothing, Optional activityText As String = Nothing, Optional activityImage As String = Nothing, Optional activityImageType As String = Nothing, Optional markdown As Nullable(Of Boolean) = Nothing, Optional facts As IList(Of O365ConnectorCardFact) = Nothing, Optional images As IList(Of O365ConnectorCardImage) = Nothing, Optional potentialAction As IList(Of O365ConnectorCardActionBase) = Nothing)

Parameters

title
String

Title of the section.

text
String

Text for the section.

activityTitle
String

Activity title.

activitySubtitle
String

Activity subtitle.

activityText
String

Activity text.

activityImage
String

Activity image.

activityImageType
String

Describes how Activity image is rendered. Possible values include: 'avatar', 'article'.

markdown
Nullable<Boolean>

Use markdown for all text contents. Default value is true.

facts
IList<O365ConnectorCardFact>

Set of facts for the current section.

images
IList<O365ConnectorCardImage>

Set of images for the current section.

potentialAction
IList<O365ConnectorCardActionBase>

Set of actions for the current section.

Applies to