Package io.ably.lib.types
Class MessageVersion
java.lang.Object
io.ably.lib.types.MessageVersion
Contains the details regarding the current version of the message - including when it was updated and by whom.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionThe client ID of the client that updated the message to this version.The description provided by the client that updated the message to this version.A map of string key-value pairs that may contain metadata associated with the operation to update the message to this version.A unique identifier for the version of the message, lexicographically-comparable with other versions (that share the same `Message.serial`).longThe timestamp of the message version. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serial
A unique identifier for the version of the message, lexicographically-comparable with other versions (that share the same `Message.serial`). Will differ from the `Message.serial` only if the message has been updated or deleted. -
timestamp
public long timestampThe timestamp of the message version.If the `Message.action` is `message.create`, this will equal the `Message.timestamp`.
-
clientId
The client ID of the client that updated the message to this version. -
description
The description provided by the client that updated the message to this version. -
metadata
A map of string key-value pairs that may contain metadata associated with the operation to update the message to this version.
-
-
Constructor Details
-
MessageVersion
public MessageVersion() -
MessageVersion
-
-
Method Details