TeamsAttachment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |