ChatAttachment Class

An attachment in a chat message.

All required parameters must be populated in order to send to Azure.

Inheritance
builtins.object
ChatAttachment

Constructor

ChatAttachment(**kwargs: Any)

Variables

Name Description
id
str

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
str or None

The name of the attachment content.

url
str or None

The URL where the attachment can be downloaded.

preview_url
str or None

The URL where the preview of attachment can be downloaded.