Table of Contents

Interface IChatMessageAttachment

Namespace
PnP.Core.Model.Me
Assembly
PnP.Core.dll

Attachments connected to a chat message

public interface IChatMessageAttachment : IDataModel<IChatMessageAttachment>, IDataModelParent, IDataModelWithContext, ISupportModules<IChatMessageAttachment>
Inherited Members
Extension Methods

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.

string Content { get; set; }

Property Value

string

ContentType

The media type of the content attachment.

string ContentType { get; set; }

Property Value

string

ContentUrl

URL for the content of the attachment. Supported protocols: http, https, file and data.

Uri ContentUrl { get; set; }

Property Value

Uri

Id

Read-only. Unique id of the attachment.

string Id { get; }

Property Value

string

Name

Name of the attachment.

string Name { get; set; }

Property Value

string

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.

Uri ThumbnailUrl { get; set; }

Property Value

Uri