Partager via


AttachmentExtensions.ToMessagingExtensionAttachment Méthode

Définition

Convertit la pièce jointe normale en pièce jointe d’extension de messagerie.

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

Paramètres

attachment
Attachment

Pièce jointe.

previewAttachment
Attachment

Pièce jointe en préversion.

Retours

Pièce jointe d’extension de messagerie.

S’applique à