Share via


Extensions.ToAttachment Method

Definition

Overloads

ToAttachment(AnimationCard)
ToAttachment(AudioCard)
ToAttachment(HeroCard)
ToAttachment(ReceiptCard)
ToAttachment(SigninCard)
ToAttachment(ThumbnailCard)
ToAttachment(VideoCard)

ToAttachment(AnimationCard)

public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.AnimationCard card);
static member ToAttachment : Microsoft.Bot.Connector.AnimationCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As AnimationCard) As Attachment

Parameters

Returns

Applies to

ToAttachment(AudioCard)

public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.AudioCard card);
static member ToAttachment : Microsoft.Bot.Connector.AudioCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As AudioCard) As Attachment

Parameters

card
AudioCard

Returns

Applies to

ToAttachment(HeroCard)

public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.HeroCard card);
static member ToAttachment : Microsoft.Bot.Connector.HeroCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As HeroCard) As Attachment

Parameters

card
HeroCard

Returns

Applies to

ToAttachment(ReceiptCard)

public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.ReceiptCard card);
static member ToAttachment : Microsoft.Bot.Connector.ReceiptCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As ReceiptCard) As Attachment

Parameters

Returns

Applies to

ToAttachment(SigninCard)

public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.SigninCard card);
static member ToAttachment : Microsoft.Bot.Connector.SigninCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As SigninCard) As Attachment

Parameters

card
SigninCard

Returns

Applies to

ToAttachment(ThumbnailCard)

public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.ThumbnailCard card);
static member ToAttachment : Microsoft.Bot.Connector.ThumbnailCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As ThumbnailCard) As Attachment

Parameters

Returns

Applies to

ToAttachment(VideoCard)

public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.VideoCard card);
static member ToAttachment : Microsoft.Bot.Connector.VideoCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As VideoCard) As Attachment

Parameters

card
VideoCard

Returns

Applies to