Dela via


AttachmentExtensions.ToMessagingExtensionAttachment Metod

Definition

Konverterar normal bifogad fil till den bifogade filen med meddelandetillägget.

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

Parametrar

attachment
Attachment

Den bifogade filen.

previewAttachment
Attachment

Den bifogade förhandsgranskningsbilagan.

Returer

Bifogat meddelandetillägg.

Gäller för