SMIAttachmentEntry

Objective-C

@protocol SMIAttachmentEntry <SMIEntryPayload, SMIEntryTypeMessage>

Swift

protocol AttachmentEntry : EntryPayload, EntryTypeMessage

Attachment entry.

  • Text that describes this attachment entry.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *text;

    Swift

    var text: String? { get }
  • Array of file attachments.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<id<SMIFileAsset>> *_Nonnull attachments;

    Swift

    var attachments: [FileAsset] { get }