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
EmailAttachmentFilterA set of filtering parameters.
cancellationToken
CancellationTokenToken to control operation cancellation.
Returns
- Task<IList<EmailAttachment>>
Collection of message attachments.