Interface BatchServiceAsync
-
- All Implemented Interfaces:
public interface BatchServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBatchServiceAsync.WithRawResponseA view of BatchServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract BatchServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
archive
CompletableFuture<List<Message>> archive(BatchArchiveParams params)
Marks the given messages as archived. Archived messages are hidden from the default message list in the feed but can still be accessed and unarchived later.
-
archive
abstract CompletableFuture<List<Message>> archive(BatchArchiveParams params, RequestOptions requestOptions)
-
getContent
CompletableFuture<List<BatchGetContentResponse>> getContent(BatchGetContentParams params)
Get the contents of multiple messages in a single request.
-
getContent
abstract CompletableFuture<List<BatchGetContentResponse>> getContent(BatchGetContentParams params, RequestOptions requestOptions)
-
markAsInteracted
CompletableFuture<List<Message>> markAsInteracted(BatchMarkAsInteractedParams params)
Marks the given messages as interacted with by the user. This can include any user action on the message, with optional metadata about the specific interaction. Cannot include more than 5 key-value pairs, must not contain nested data. Read more about message engagement statuses /send-notifications/message-statuses#engagement-status.
-
markAsInteracted
abstract CompletableFuture<List<Message>> markAsInteracted(BatchMarkAsInteractedParams params, RequestOptions requestOptions)
-
markAsRead
CompletableFuture<List<Message>> markAsRead(BatchMarkAsReadParams params)
Marks the given messages as
read. Read more about message engagement statuses /send-notifications/message-statuses#engagement-status.
-
markAsRead
abstract CompletableFuture<List<Message>> markAsRead(BatchMarkAsReadParams params, RequestOptions requestOptions)
-
markAsSeen
CompletableFuture<List<Message>> markAsSeen(BatchMarkAsSeenParams params)
Marks the given messages as
seen. This indicates that the user has viewed the message in their feed or inbox. Read more about message engagement statuses /send-notifications/message-statuses#engagement-status.
-
markAsSeen
abstract CompletableFuture<List<Message>> markAsSeen(BatchMarkAsSeenParams params, RequestOptions requestOptions)
-
markAsUnread
CompletableFuture<List<Message>> markAsUnread(BatchMarkAsUnreadParams params)
Marks the given messages as
unread. This reverses thereadstate. Read more about message engagement statuses /send-notifications/message-statuses#engagement-status.
-
markAsUnread
abstract CompletableFuture<List<Message>> markAsUnread(BatchMarkAsUnreadParams params, RequestOptions requestOptions)
-
markAsUnseen
CompletableFuture<List<Message>> markAsUnseen(BatchMarkAsUnseenParams params)
Marks the given messages as
unseen. This reverses theseenstate. Read more about message engagement statuses /send-notifications/message-statuses#engagement-status.
-
markAsUnseen
abstract CompletableFuture<List<Message>> markAsUnseen(BatchMarkAsUnseenParams params, RequestOptions requestOptions)
-
unarchive
CompletableFuture<List<Message>> unarchive(BatchUnarchiveParams params)
Marks the given messages as unarchived. This reverses the
archivedstate. Archived messages are hidden from the default message list in the feed but can still be accessed and unarchived later.
-
unarchive
abstract CompletableFuture<List<Message>> unarchive(BatchUnarchiveParams params, RequestOptions requestOptions)
-
-
-
-