AttachmentMessage

AttachmentMessage

Represents an attachment message.

Constructor

new AttachmentMessage(attachment)

Description:
  • Constructs an AttachmentMessage object with the specified attachment.
Source:
Parameters:
Name Type Description
attachment Attachment The attachment of the message (required).

Methods

deserializeNestedProperties()

Description:
  • Deserialize nested object properties into corresponding class instances
Source:

getAttachment() → {Attachment}

Description:
  • Gets the attachment of the message.
Source:
Returns:
The attachment of the message.
Type
Attachment

setAttachment(attachment)

Description:
  • Sets the attachment of the message.
Source:
Parameters:
Name Type Description
attachment Attachment The attachment of the message.
Returns:
This AttachmentMessage instance.