Search Results for

    Show / Hide Table of Contents

    Class ChatMessageAttachmentOptions

    Chat message attachment

    Inheritance
    System.Object
    ChatMessageAttachmentOptions
    Namespace: PnP.Core.Model.Teams
    Assembly: PnP.Core.dll
    Syntax
    public class ChatMessageAttachmentOptions : object

    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
    public string Content { get; set; }
    Property Value
    System.String

    ContentType

    The media type of the content attachment.

    Declaration
    public string ContentType { get; set; }
    Property Value
    System.String

    ContentUrl

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

    Declaration
    public Uri ContentUrl { get; set; }
    Property Value
    Uri

    Id

    Unique id of the attachment.

    Declaration
    public string Id { get; set; }
    Property Value
    System.String

    Name

    Name of the attachment.

    Declaration
    public 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
    public Uri ThumbnailUrl { get; set; }
    Property Value
    Uri

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer