Class Message

java.lang.Object
io.cryptolens.methods.Message

public class Message extends Object
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 Details

    • Message

      public Message()
  • Method Details

    • GetMessages

      public static GetMessagesResult GetMessages(String token, GetMessagesModel model)
      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

      public static GetMessagesResult GetMessages(String token, GetMessagesModel model, APIError error)
      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. define APIError error = new APIError(); and then pass error into this parameter.