Interface IChatMessageAttachment
Attachments connected to a chat message
Inherited Members
Namespace: PnP.Core.Model.Me
Assembly: PnP.Core.dll
Syntax
public interface IChatMessageAttachment : IDataModel<IChatMessageAttachment>, IDataModelParent, IDataModelWithContext, ISupportModules<IChatMessageAttachment>
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.
Declaration
string Content { get; set; }
Property Value
System.String
|
ContentType
The media type of the content attachment.
Declaration
string ContentType { get; set; }
Property Value
System.String
|
ContentUrl
URL for the content of the attachment. Supported protocols: http, https, file and data.
Declaration
Uri ContentUrl { get; set; }
Property Value
Uri
|
Id
Read-only. Unique id of the attachment.
Declaration
string Id { get; }
Property Value
System.String
|
Name
Name of the attachment.
Declaration
string Name { get; set; }
Property Value
System.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.
Declaration
Uri ThumbnailUrl { get; set; }
Property Value
Uri
|