Interface IInboundMessageCollectionResource
Represents the inbound message collection resource for an inbox.
public interface IInboundMessageCollectionResource : IRestResource
- Inherited Members
Methods
List(string?, CancellationToken)
Lists received messages in the inbox, with cursor-based pagination.
Task<InboundMessagesListResponse> List(string? lastId = null, CancellationToken cancellationToken = default)
Parameters
lastIdstringOptional pagination cursor from a previous response's
last_id. null for the first page.cancellationTokenCancellationTokenToken to control operation cancellation.
Returns
- Task<InboundMessagesListResponse>
A page of messages, with total count and next-page cursor.