Class MessageMarkAsInteractedParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class MessageMarkAsInteractedParams implements Params
Marks a message as
interactedwith 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageMarkAsInteractedParams.BuilderA builder for MessageMarkAsInteractedParams.
public final classMessageMarkAsInteractedParams.BodyA request to mark a message as interacted with.
public final classMessageMarkAsInteractedParams.MetadataMetadata about the interaction.
-
Method Summary
-
-
Method Detail
-
metadata
final Optional<MessageMarkAsInteractedParams.Metadata> metadata()
Metadata about the interaction.
-
_metadata
final JsonField<MessageMarkAsInteractedParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final MessageMarkAsInteractedParams.Builder toBuilder()
-
_body
final MessageMarkAsInteractedParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static MessageMarkAsInteractedParams none()
-
builder
final static MessageMarkAsInteractedParams.Builder builder()
Returns a mutable builder for constructing an instance of MessageMarkAsInteractedParams.
-
-
-
-