Language

TeamsAttachment Class

Definition

Teams attachment model.

public class TeamsAttachment
type TeamsAttachment = class
Public Class TeamsAttachment
Inheritance
TeamsAttachment

Constructors

Name Description
TeamsAttachment()

Properties

Name Description
Content

Content for the Attachment

ContentType

Content of the attachment.

ContentUrl

Content URL of the attachment.

Name

Gets or sets the name of the attachment.

Properties

Extension data for additional properties not explicitly defined by the type.

ThumbnailUrl

Gets or sets the thumbnail URL of the attachment. Teams does not send this when a bot receives an upload.

Methods

Name Description
CreateBuilder()

Creates a builder for constructing a TeamsAttachment instance.

CreateBuilder(TeamsAttachment)

Creates a builder initialized with an existing TeamsAttachment instance.

Applies to