ChatAttachment Class
An attachment in a chat message.
All required parameters must be populated in order to send to Azure.
Constructor
ChatAttachment(**kwargs: Any)
Variables
| Name | Description |
|---|---|
|
id
|
Id of the attachment. Required. |
|
attachment_type
|
str or
<xref:azure.communication.chat.models.ChatAttachmentType>
The type of attachment. Required. Known values are: "image" and "file". |
|
name
|
The name of the attachment content. |
|
url
|
The URL where the attachment can be downloaded. |
|
preview_url
|
The URL where the preview of attachment can be downloaded. |