Microsoft.Bot.Connector.Attachment Class Reference

An attachment within an activity More...

Public Member Functions

 Attachment ()
 Initializes a new instance of the Attachment class. More...
 
 Attachment (string contentType=default(string), string contentUrl=default(string), object content=default(object), string name=default(string), string thumbnailUrl=default(string))
 Initializes a new instance of the Attachment class. More...
 

Properties

object Content [get, set]
 Embedded content More...
 
string ContentType [get, set]
 mimetype/Contenttype for the file More...
 
string ContentUrl [get, set]
 Content Url More...
 
string Name [get, set]
 (OPTIONAL) The name of the attachment More...
 
string ThumbnailUrl [get, set]
 (OPTIONAL) Thumbnail associated with attachment More...
 

Detailed Description

An attachment within an activity

Definition at line 17 of file Attachment.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.Attachment.Attachment ( )
inline

Initializes a new instance of the Attachment class.

Definition at line 22 of file Attachment.cs.

Microsoft.Bot.Connector.Attachment.Attachment ( string  contentType = default(string),
string  contentUrl = default(string),
object  content = default(object),
string  name = default(string),
string  thumbnailUrl = default(string) 
)
inline

Initializes a new instance of the Attachment class.

Definition at line 27 of file Attachment.cs.

Property Documentation

object Microsoft.Bot.Connector.Attachment.Content
getset

Embedded content

Definition at line 52 of file Attachment.cs.

string Microsoft.Bot.Connector.Attachment.ContentType
getset

mimetype/Contenttype for the file

Definition at line 40 of file Attachment.cs.

string Microsoft.Bot.Connector.Attachment.ContentUrl
getset

Content Url

Definition at line 46 of file Attachment.cs.

string Microsoft.Bot.Connector.Attachment.Name
getset

(OPTIONAL) The name of the attachment

Definition at line 58 of file Attachment.cs.

string Microsoft.Bot.Connector.Attachment.ThumbnailUrl
getset

(OPTIONAL) Thumbnail associated with attachment

Definition at line 64 of file Attachment.cs.


The documentation for this class was generated from the following file: