Class GetMessagesModel
java.lang.Object
io.cryptolens.models.RequestModel
io.cryptolens.models.GetMessagesModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionSpecifies the channel, whose messages you would like to retrieve.long
Allows you to retrieve only those messages that were created after a certain Time (strictly greater than), eg.Fields inherited from class io.cryptolens.models.RequestModel
LicenseServerUrl
-
Constructor Summary
ConstructorsConstructorDescriptionGetMessagesModel
(long time) GetMessagesModel
(String channel) GetMessagesModel
(String channel, long time) -
Method Summary
-
Field Details
-
Channel
Specifies the channel, whose messages you would like to retrieve. If not set, messages from all channels will be returned. -
Time
public long TimeAllows you to retrieve only those messages that were created after a certain Time (strictly greater than), eg. the last time you contacted the server. The format is unix timestamp. If no time is specified, all messages will be returned.
-
-
Constructor Details
-
GetMessagesModel
public GetMessagesModel() -
GetMessagesModel
-
GetMessagesModel
-
GetMessagesModel
public GetMessagesModel(long time)
-