Delen via


AttachmentExtensions.ToMessagingExtensionAttachment Methode

Definitie

Converteert de normale bijlage naar de berichtextensiebijlage.

public static Microsoft.Bot.Schema.Teams.MessagingExtensionAttachment ToMessagingExtensionAttachment (this Microsoft.Bot.Schema.Attachment attachment, Microsoft.Bot.Schema.Attachment previewAttachment = default);
static member ToMessagingExtensionAttachment : Microsoft.Bot.Schema.Attachment * Microsoft.Bot.Schema.Attachment -> Microsoft.Bot.Schema.Teams.MessagingExtensionAttachment
<Extension()>
Public Function ToMessagingExtensionAttachment (attachment As Attachment, Optional previewAttachment As Attachment = Nothing) As MessagingExtensionAttachment

Parameters

attachment
Attachment

De bijlage.

previewAttachment
Attachment

De voorbeeldbijlage.

Retouren

Berichtextensiebijlage.

Van toepassing op