Share via


MessagingExtensionAttachment Constructors

Definition

Overloads

MessagingExtensionAttachment()

Initializes a new instance of the MessagingExtensionAttachment class.

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

Initializes a new instance of the MessagingExtensionAttachment class.

MessagingExtensionAttachment()

Initializes a new instance of the MessagingExtensionAttachment class.

public MessagingExtensionAttachment ();
Public Sub New ()

Applies to

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

Initializes a new instance of the MessagingExtensionAttachment class.

public MessagingExtensionAttachment (string contentType = default, string contentUrl = default, object content = default, string name = default, string thumbnailUrl = default, Microsoft.Bot.Schema.Attachment preview = default);
new Microsoft.Bot.Schema.Teams.MessagingExtensionAttachment : string * string * obj * string * string * Microsoft.Bot.Schema.Attachment -> Microsoft.Bot.Schema.Teams.MessagingExtensionAttachment
Public Sub New (Optional contentType As String = Nothing, Optional contentUrl As String = Nothing, Optional content As Object = Nothing, Optional name As String = Nothing, Optional thumbnailUrl As String = Nothing, Optional preview As Attachment = Nothing)

Parameters

contentType
String

mimetype/Contenttype for the file.

contentUrl
String

Content Url.

content
Object

Embedded content.

name
String

(OPTIONAL) The name of the attachment.

thumbnailUrl
String

(OPTIONAL) Thumbnail associated with attachment.

preview
Attachment

A preview attachment.

Applies to