Attachment Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Attachment() |
Initializes a new instance of the Attachment class. |
Attachment(String, String, Object, String, String) |
Initializes a new instance of the Attachment class. |
Attachment()
Initializes a new instance of the Attachment class.
public Attachment ();
Public Sub New ()
Applies to
Attachment(String, String, Object, String, String)
Initializes a new instance of the Attachment class.
public Attachment (string contentType = default, string contentUrl = default, object content = default, string name = default, string thumbnailUrl = default);
new Microsoft.Bot.Schema.Attachment : string * string * obj * string * string -> Microsoft.Bot.Schema.Attachment
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)
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.