Class Message
java.lang.Object
io.cryptolens.methods.Message
Methods related to the Message API (https://app.cryptolens.io/docs/api/v3/Message).
You can broadcast new messages by visiting https://app.cryptolens.io/Message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GetMessagesResultGetMessages(String token, GetMessagesModel model) This method will return a list of messages that were broadcasted.static GetMessagesResultGetMessages(String token, GetMessagesModel model, APIError error) This method will return a list of messages that were broadcasted.
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
GetMessages
This method will return a list of messages that were broadcasted. You can create new messages here. Messages can be filtered based on the time and the channel.- Parameters:
token- The access token with 'GetMessages' permission.model- Method parameters.
-
GetMessages
This method will return a list of messages that were broadcasted. You can create new messages here. Messages can be filtered based on the time and the channel.- Parameters:
token- The access token with 'GetMessages' permission.model- Method parameters.error- The error object whose Message field will be populated if an error has occurred. Please initialize this parameter, i.e. defineAPIError error = new APIError();and then passerrorinto this parameter.
-