Interface ITeamChatMessageAttachment
Attachments connected to a chat message
Inherited Members
Namespace: PnP.Core.Model.Teams
Assembly: PnP.Core.dll
Syntax
public interface ITeamChatMessageAttachment : IDataModel<ITeamChatMessageAttachment>, IDataModelParent, IDataModelWithContext, ISupportModules<ITeamChatMessageAttachment>
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
String
|
ContentType
The media type of the content attachment.
Declaration
string ContentType { get; set; }
Property Value
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
Name
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
|