Class MessageComposerState

  • All Implemented Interfaces:

    
    public final class MessageComposerState
    
                        

    Represents the state within the message input.

    • Constructor Detail

      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews, Integer coolDownTime, MessageMode messageMode, Boolean alsoSendToChannel, Set<String> ownCapabilities, Boolean hasCommands, User currentUser, RecordingState recording)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
        coolDownTime - The amount of time left until the user is allowed to send the next message.
        messageMode - The message mode that's currently active.
        alsoSendToChannel - If the message will be shown in the channel after it is sent.
        ownCapabilities - Set of capabilities the user is given for the current channel.
        hasCommands - Whether there are any commands available.
        currentUser - The currently logged in user.
        recording - The current recording state.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews, Integer coolDownTime, MessageMode messageMode, Boolean alsoSendToChannel, Set<String> ownCapabilities, Boolean hasCommands, User currentUser)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
        coolDownTime - The amount of time left until the user is allowed to send the next message.
        messageMode - The message mode that's currently active.
        alsoSendToChannel - If the message will be shown in the channel after it is sent.
        ownCapabilities - Set of capabilities the user is given for the current channel.
        hasCommands - Whether there are any commands available.
        currentUser - The currently logged in user.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews, Integer coolDownTime, MessageMode messageMode, Boolean alsoSendToChannel, Set<String> ownCapabilities, Boolean hasCommands)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
        coolDownTime - The amount of time left until the user is allowed to send the next message.
        messageMode - The message mode that's currently active.
        alsoSendToChannel - If the message will be shown in the channel after it is sent.
        ownCapabilities - Set of capabilities the user is given for the current channel.
        hasCommands - Whether there are any commands available.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews, Integer coolDownTime, MessageMode messageMode, Boolean alsoSendToChannel, Set<String> ownCapabilities)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
        coolDownTime - The amount of time left until the user is allowed to send the next message.
        messageMode - The message mode that's currently active.
        alsoSendToChannel - If the message will be shown in the channel after it is sent.
        ownCapabilities - Set of capabilities the user is given for the current channel.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews, Integer coolDownTime, MessageMode messageMode, Boolean alsoSendToChannel)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
        coolDownTime - The amount of time left until the user is allowed to send the next message.
        messageMode - The message mode that's currently active.
        alsoSendToChannel - If the message will be shown in the channel after it is sent.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews, Integer coolDownTime, MessageMode messageMode)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
        coolDownTime - The amount of time left until the user is allowed to send the next message.
        messageMode - The message mode that's currently active.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews, Integer coolDownTime)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
        coolDownTime - The amount of time left until the user is allowed to send the next message.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions, List<LinkPreview> linkPreviews)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
        linkPreviews - The list of links found in inputValue to be previewed.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions, List<Command> commandSuggestions)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
        commandSuggestions - The list of commands to be displayed in the command suggestion popup.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors, List<User> mentionSuggestions)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
        mentionSuggestions - The list of users that can be used to autocomplete the mention.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action, List<ValidationError> validationErrors)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
        validationErrors - The list of validation errors.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments, MessageAction action)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
        action - The currently active MessageAction.
      • MessageComposerState

        MessageComposerState(String inputValue, List<Attachment> attachments)
        Parameters:
        inputValue - The current text value that's within the input.
        attachments - The currently selected attachments.
      • MessageComposerState

        MessageComposerState(String inputValue)
        Parameters:
        inputValue - The current text value that's within the input.
      • MessageComposerState

        MessageComposerState()