Class ChatMessageAttachmentOptions
Chat message attachment
public class ChatMessageAttachmentOptions
- Inheritance
-
ChatMessageAttachmentOptions
- Inherited Members
Properties
Content
The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive.
public string Content { get; set; }
Property Value
ContentType
The media type of the content attachment.
public string ContentType { get; set; }
Property Value
ContentUrl
URL for the content of the attachment. Supported protocols: http, https, file and data.
public Uri ContentUrl { get; set; }
Property Value
Id
Unique id of the attachment.
public string Id { get; set; }
Property Value
Name
Name of the attachment.
public string Name { get; set; }
Property Value
ThumbnailUrl
URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of content or contentUrl. For example, if you set contentType to application/word and set contentUrl to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user clicks the image, the channel would open the document.
public Uri ThumbnailUrl { get; set; }