TTMSFNCWhatsAppReceiverMedia Class
Describes a media attachment such as an image, audio, document, video, or sticker.
API unit family: TMSFNCWhatsAppReceiver
Inherits from: TPersistent
Syntax
TTMSFNCWhatsAppReceiverMedia = class(TPersistent)
Properties
| Name | Description |
|---|---|
| Caption | Optional caption accompanying the attachment. |
| Checksum | SHA-256 checksum of the attachment content. |
| FileType | Kind of media this attachment represents. |
| Filename | Original file name of the attachment, used for documents. |
| ID | Server-side identifier used to retrieve the attachment content. |
| MimeType | MIME type of the attachment content. |
Methods
| Name | Description |
|---|---|
| ToJSON | Serializes the media attachment to its JSON representation. |