Share via


MessagingExtensionAttachment Class

Definition

Messaging extension attachment.

public class MessagingExtensionAttachment : Microsoft.Bot.Schema.Attachment
type MessagingExtensionAttachment = class
    inherit Attachment
Public Class MessagingExtensionAttachment
Inherits Attachment
Inheritance
MessagingExtensionAttachment

Constructors

MessagingExtensionAttachment()

Initializes a new instance of the MessagingExtensionAttachment class.

MessagingExtensionAttachment(String, String, Object, String, String, Attachment)

Initializes a new instance of the MessagingExtensionAttachment class.

Properties

Content

Gets or sets embedded content.

(Inherited from Attachment)
ContentType

Gets or sets mimetype/Contenttype for the file.

(Inherited from Attachment)
ContentUrl

Gets or sets content Url.

(Inherited from Attachment)
Name

Gets or sets (OPTIONAL) The name of the attachment.

(Inherited from Attachment)
Preview

Gets or sets the preview.

Properties

Gets or sets properties that are not otherwise defined by the Attachment type but that might appear in the REST JSON object.

(Inherited from Attachment)
ThumbnailUrl

Gets or sets (OPTIONAL) Thumbnail associated with attachment.

(Inherited from Attachment)

Extension Methods

ToMessagingExtensionAttachment(Attachment, Attachment)

Converts normal attachment into the messaging extension attachment.

Applies to