Table of Contents

Interface IAttachmentCollectionResource

Namespace
Mailtrap.Attachments
Assembly
Mailtrap.Abstractions.dll

Represents message attachment collection resource.

public interface IAttachmentCollectionResource : IRestResource
Inherited Members

Methods

Fetch(EmailAttachmentFilter?, CancellationToken)

Fetches a collection of message attachments considering provided filtering parameters.

Task<IList<EmailAttachment>> Fetch(EmailAttachmentFilter? filter = null, CancellationToken cancellationToken = default)

Parameters

filter EmailAttachmentFilter

A set of filtering parameters.

cancellationToken CancellationToken

Token to control operation cancellation.

Returns

Task<IList<EmailAttachment>>

Collection of message attachments.